Package xbird.util.codec

Examples of xbird.util.codec.IntCodec


        } else {
            File tmpDir = (TMP_DATA_DIR == null) ? null : new File(TMP_DATA_DIR);
            String docname = FileUtils.basename(docId);
            File tmpFile = File.createTempFile(docname, ".tmp", tmpDir);
            tmpFile.deleteOnExit();
            ILongCache<int[]> pool = new DiskPagedLongCache<int[]>(tmpFile, MemoryMappedDocumentTable.CACHED_PAGES, new IntCodec());
            mmDoctbl.setBufferPool(pool);
        }
    }
View Full Code Here


        } else {
            File tmpDir = (TMP_DATA_DIR == null) ? null : new File(TMP_DATA_DIR);
            String docname = FileUtils.basename(docId);
            File tmpFile = File.createTempFile(docname, ".tmp", tmpDir);
            tmpFile.deleteOnExit();
            ILongCache<int[]> pool = new DiskPagedLongCache<int[]>(tmpFile, MemoryMappedDocumentTable.CACHED_PAGES, new IntCodec());
            mmDoctbl.setBufferPool(pool);
        }
    }
View Full Code Here

TOP

Related Classes of xbird.util.codec.IntCodec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.