SYMBOL INDEX (1172 symbols across 100 files) FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/BenchmarkTool.java class BenchmarkTool (line 20) | public class BenchmarkTool { method main (line 43) | public static void main(String[] args) throws Exception { method createDB (line 78) | private static void createDB(StorageEngine db, boolean isSequential) { method update (line 102) | private static void update(StorageEngine db) { method readRandom (line 127) | private static void readRandom(StorageEngine db, int threads) { method updateWithReads (line 162) | private static void updateWithReads(StorageEngine db) { class Read (line 239) | static class Read extends Thread { method Read (line 247) | Read(StorageEngine db, int id) { method run (line 253) | @Override method longToBytes (line 282) | public static byte[] longToBytes(long value) { method printDate (line 286) | public static String printDate() { FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/Benchmarks.java type Benchmarks (line 8) | public enum Benchmarks { FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/HaloDBStorageEngine.java class HaloDBStorageEngine (line 14) | public class HaloDBStorageEngine implements StorageEngine { method HaloDBStorageEngine (line 21) | public HaloDBStorageEngine(File dbDirectory, long noOfRecords) { method put (line 26) | @Override method get (line 36) | @Override method delete (line 47) | @Override method open (line 56) | @Override method close (line 74) | @Override method size (line 86) | @Override method printStats (line 91) | @Override method stats (line 96) | @Override FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/KyotoStorageEngine.java class KyotoStorageEngine (line 11) | public class KyotoStorageEngine implements StorageEngine { method KyotoStorageEngine (line 18) | public KyotoStorageEngine(File dbDirectory, int noOfRecords) { method open (line 23) | @Override method put (line 46) | @Override method get (line 51) | @Override method close (line 56) | @Override method size (line 61) | @Override FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/RandomDataGenerator.java class RandomDataGenerator (line 9) | public class RandomDataGenerator { method RandomDataGenerator (line 15) | public RandomDataGenerator(int seed) { method getData (line 21) | public byte[] getData(int length) { FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/RocksDBStorageEngine.java class RocksDBStorageEngine (line 19) | public class RocksDBStorageEngine implements StorageEngine { method RocksDBStorageEngine (line 28) | public RocksDBStorageEngine(File dbDirectory, int noOfRecords) { method put (line 32) | @Override method get (line 42) | @Override method open (line 54) | @Override method close (line 121) | @Override FILE: benchmarks/src/main/java/com/oath/halodb/benchmarks/StorageEngine.java type StorageEngine (line 7) | public interface StorageEngine { method put (line 9) | void put(byte[] key, byte[] value); method stats (line 11) | default String stats() { return "";} method get (line 13) | byte[] get(byte[] key); method delete (line 15) | default void delete(byte[] key) {} method open (line 17) | void open(); method close (line 19) | void close(); method size (line 21) | default long size() {return 0;} method printStats (line 23) | default void printStats() { FILE: src/main/java/com/oath/halodb/CompactionManager.java class CompactionManager (line 20) | class CompactionManager { method CompactionManager (line 49) | CompactionManager(HaloDBInternal dbInternal) { method stopCompactionThread (line 56) | boolean stopCompactionThread(boolean closeCurrentWriteFile) throws IOE... method startCompactionThread (line 85) | void startCompactionThread() { method pauseCompactionThread (line 98) | void pauseCompactionThread() throws IOException { method resumeCompaction (line 103) | void resumeCompaction() { method getCurrentWriteFileId (line 108) | int getCurrentWriteFileId() { method submitFileForCompaction (line 112) | boolean submitFileForCompaction(int fileId) { method noOfFilesPendingCompaction (line 116) | int noOfFilesPendingCompaction() { method getNumberOfRecordsCopied (line 120) | long getNumberOfRecordsCopied() { method getNumberOfRecordsReplaced (line 124) | long getNumberOfRecordsReplaced() { method getNumberOfRecordsScanned (line 128) | long getNumberOfRecordsScanned() { method getSizeOfRecordsCopied (line 132) | long getSizeOfRecordsCopied() { method getSizeOfFilesDeleted (line 136) | long getSizeOfFilesDeleted() { method getCompactionJobRateSinceBeginning (line 140) | long getCompactionJobRateSinceBeginning() { method resetStats (line 149) | void resetStats() { method isCompactionRunning (line 154) | boolean isCompactionRunning() { class CompactionThread (line 158) | private class CompactionThread extends Thread { method CompactionThread (line 162) | CompactionThread() { method run (line 193) | @Override method copyFreshRecordsToNewFile (line 221) | private void copyFreshRecordsToNewFile(int idOfFileToCompact) throws... method isRecordFresh (line 302) | private boolean isRecordFresh(IndexFileEntry entry, InMemoryIndexMet... method rollOverCurrentWriteFile (line 308) | private void rollOverCurrentWriteFile(int recordSize) throws IOExcep... method forceRolloverCurrentWriteFile (line 316) | void forceRolloverCurrentWriteFile() throws IOException { method isCompactionComplete (line 327) | @VisibleForTesting FILE: src/main/java/com/oath/halodb/Constants.java class Constants (line 10) | class Constants { FILE: src/main/java/com/oath/halodb/DBDirectory.java class DBDirectory (line 18) | class DBDirectory { method DBDirectory (line 23) | private DBDirectory(File dbDirectory, FileChannel directoryChannel) { method open (line 31) | static DBDirectory open(File directory) throws IOException { method close (line 46) | void close() throws IOException { method getPath (line 52) | Path getPath() { method listDataFiles (line 56) | File[] listDataFiles() { method listIndexFiles (line 60) | List listIndexFiles() { method listTombstoneFiles (line 64) | File[] listTombstoneFiles() { method syncMetaData (line 68) | void syncMetaData() throws IOException { method openReadOnlyChannel (line 84) | private static FileChannel openReadOnlyChannel(File dbDirectory) throw... method isWindows (line 88) | private static boolean isWindows() { FILE: src/main/java/com/oath/halodb/DBMetaData.java class DBMetaData (line 22) | class DBMetaData { method DBMetaData (line 49) | DBMetaData(DBDirectory dbDirectory) { method loadFromFileIfExists (line 53) | void loadFromFileIfExists() throws IOException { method storeToFile (line 72) | void storeToFile() throws IOException { method computeCheckSum (line 97) | private long computeCheckSum(byte[] header) { method isValid (line 103) | boolean isValid() { method isOpen (line 115) | boolean isOpen() { method setOpen (line 119) | void setOpen(boolean open) { method getSequenceNumber (line 123) | long getSequenceNumber() { method setSequenceNumber (line 127) | void setSequenceNumber(long sequenceNumber) { method isIOError (line 131) | boolean isIOError() { method setIOError (line 135) | void setIOError(boolean ioError) { method getVersion (line 139) | public int getVersion() { method setVersion (line 143) | public void setVersion(int version) { method getMaxFileSize (line 147) | public int getMaxFileSize() { method setMaxFileSize (line 151) | public void setMaxFileSize(int maxFileSize) { FILE: src/main/java/com/oath/halodb/FileUtils.java class FileUtils (line 22) | class FileUtils { method createDirectoryIfNotExists (line 24) | static void createDirectoryIfNotExists(File directory) throws IOExcept... method deleteDirectory (line 37) | static void deleteDirectory(File dir) throws IOException { method listIndexFiles (line 52) | static List listIndexFiles(File directory) { method listTombstoneFiles (line 67) | static File[] listTombstoneFiles(File directory) { method listDataFiles (line 80) | static File[] listDataFiles(File directory) { method getFileId (line 84) | private static int getFileId(File file, Pattern pattern) { FILE: src/main/java/com/oath/halodb/HaloDB.java class HaloDB (line 14) | public final class HaloDB { method open (line 20) | public static HaloDB open(File dirname, HaloDBOptions opts) throws Hal... method open (line 31) | public static HaloDB open(String directory, HaloDBOptions opts) throws... method get (line 35) | public byte[] get(byte[] key) throws HaloDBException { method put (line 43) | public boolean put(byte[] key, byte[] value) throws HaloDBException { method delete (line 51) | public void delete(byte[] key) throws HaloDBException { method close (line 59) | public void close() throws HaloDBException { method size (line 67) | public long size() { method stats (line 71) | public HaloDBStats stats() { method resetStats (line 75) | public void resetStats() { method newIterator (line 79) | public HaloDBIterator newIterator() throws HaloDBException { method newKeyIterator (line 83) | public HaloDBKeyIterator newKeyIterator() { method pauseCompaction (line 87) | public void pauseCompaction() throws HaloDBException { method snapshot (line 95) | public boolean snapshot() { method clearSnapshot (line 99) | public boolean clearSnapshot() { method getSnapshotDirectory (line 103) | public File getSnapshotDirectory() { method resumeCompaction (line 107) | public void resumeCompaction() { method isCompactionComplete (line 113) | @VisibleForTesting method isTombstoneFilesMerging (line 118) | @VisibleForTesting FILE: src/main/java/com/oath/halodb/HaloDBException.java class HaloDBException (line 7) | public class HaloDBException extends Exception { method HaloDBException (line 10) | public HaloDBException(String message) { method HaloDBException (line 14) | public HaloDBException(String message, Throwable cause) { method HaloDBException (line 18) | public HaloDBException(Throwable cause) { FILE: src/main/java/com/oath/halodb/HaloDBFile.java class HaloDBFile (line 30) | class HaloDBFile { method HaloDBFile (line 51) | private HaloDBFile(int fileId, File backingFile, DBDirectory dbDirecto... method readFromFile (line 63) | byte[] readFromFile(int offset, int length) throws IOException { method readFromFile (line 72) | int readFromFile(long position, ByteBuffer destinationBuffer) throws I... method readRecord (line 83) | private Record readRecord(int offset) throws HaloDBException, IOExcept... method writeRecord (line 113) | InMemoryIndexMetaData writeRecord(Record record) throws IOException { method rebuildIndexFile (line 131) | void rebuildIndexFile() throws IOException { method repairFile (line 158) | HaloDBFile repairFile(DBDirectory dbDirectory) throws IOException { method createRepairFile (line 187) | private HaloDBFile createRepairFile() throws IOException { method writeToChannel (line 200) | private long writeToChannel(ByteBuffer[] buffers) throws IOException { method flushToDisk (line 220) | void flushToDisk() throws IOException { method getWriteOffset (line 225) | long getWriteOffset() { method setWriteOffset (line 229) | void setWriteOffset(int writeOffset) { method getSize (line 233) | long getSize() { method getIndexFile (line 237) | IndexFile getIndexFile() { method getChannel (line 241) | FileChannel getChannel() { method getFileType (line 245) | FileType getFileType() { method getFileId (line 249) | int getFileId() { method openForReading (line 253) | static HaloDBFile openForReading(DBDirectory dbDirectory, File filenam... method create (line 262) | static HaloDBFile create(DBDirectory dbDirectory, int fileId, HaloDBOp... method newIterator (line 282) | HaloDBFileIterator newIterator() throws IOException { method close (line 286) | void close() throws IOException { method delete (line 295) | void delete() throws IOException { method getName (line 304) | String getName() { method getPath (line 308) | Path getPath() { method getDataFile (line 312) | private static File getDataFile(DBDirectory dbDirectory, int fileId) { method getCompactedDataFile (line 316) | private static File getCompactedDataFile(DBDirectory dbDirectory, int ... method findFileType (line 320) | static FileType findFileType(File file) { method getFileTimeStamp (line 325) | static int getFileTimeStamp(File file) { class HaloDBFileIterator (line 337) | class HaloDBFileIterator implements Iterator { method HaloDBFileIterator (line 342) | HaloDBFileIterator() throws IOException { method hasNext (line 346) | @Override method next (line 351) | @Override type FileType (line 368) | enum FileType { FILE: src/main/java/com/oath/halodb/HaloDBInternal.java class HaloDBInternal (line 41) | class HaloDBInternal { method HaloDBInternal (line 82) | private HaloDBInternal() {} method open (line 84) | static HaloDBInternal open(File directory, HaloDBOptions options) thro... method close (line 160) | synchronized void close() throws IOException { method put (line 218) | boolean put(byte[] key, byte[] value) throws IOException, HaloDBExcept... method get (line 240) | byte[] get(byte[] key, int attemptNumber) throws IOException, HaloDBEx... method get (line 270) | int get(byte[] key, ByteBuffer buffer) throws IOException { method takeSnapshot (line 302) | synchronized boolean takeSnapshot() { method getSnapshotDirectory (line 369) | File getSnapshotDirectory() { method clearSnapshot (line 374) | boolean clearSnapshot() { method delete (line 391) | void delete(byte[] key) throws IOException { method size (line 409) | long size() { method setIOErrorFlag (line 413) | void setIOErrorFlag() throws IOException { method pauseCompaction (line 420) | void pauseCompaction() throws IOException { method resumeCompaction (line 424) | void resumeCompaction() { method writeRecordToFile (line 428) | private InMemoryIndexMetaData writeRecordToFile(Record record) throws ... method rollOverCurrentWriteFile (line 433) | private void rollOverCurrentWriteFile(Record record) throws IOException { method forceRollOverCurrentWriteFile (line 441) | private void forceRollOverCurrentWriteFile() throws IOException { method rollOverTombstoneFile (line 450) | private TombstoneFile rollOverTombstoneFile(TombstoneEntry entry, Tomb... method forceRollOverTombstoneFile (line 460) | private TombstoneFile forceRollOverTombstoneFile(TombstoneFile tombsto... method markPreviousVersionAsStale (line 472) | private void markPreviousVersionAsStale(byte[] key) { method markPreviousVersionAsStale (line 479) | private void markPreviousVersionAsStale(byte[] key, InMemoryIndexMetaD... method addFileToCompactionQueueIfThresholdCrossed (line 484) | void addFileToCompactionQueueIfThresholdCrossed(int fileId, int staleR... method updateStaleDataMap (line 501) | private int updateStaleDataMap(int fileId, int staleDataSize) { method markFileAsCompacted (line 505) | void markFileAsCompacted(int fileId) { method getInMemoryIndex (line 509) | InMemoryIndex getInMemoryIndex() { method createHaloDBFile (line 513) | HaloDBFile createHaloDBFile(HaloDBFile.FileType fileType) throws IOExc... method openDataFilesForReading (line 521) | private List openDataFilesForReading() throws IOException { method buildReadFileMap (line 538) | private int buildReadFileMap() throws HaloDBException, IOException { method getNextFileId (line 556) | private int getNextFileId() { method getLatestDataFile (line 560) | private Optional getLatestDataFile(HaloDBFile.FileType fil... method buildInMemoryIndex (line 567) | private long buildInMemoryIndex() throws IOException { method buildInMemoryIndex (line 580) | private long buildInMemoryIndex(ExecutorService executor) throws IOExc... class ProcessIndexFileTask (line 632) | class ProcessIndexFileTask implements Callable { method ProcessIndexFileTask (line 636) | public ProcessIndexFileTask(IndexFile indexFile, int fileId) { method call (line 641) | @Override class ProcessTombstoneFileTask (line 688) | class ProcessTombstoneFileTask implements Callable { method ProcessTombstoneFileTask (line 691) | public ProcessTombstoneFileTask(TombstoneFile tombstoneFile) { method call (line 695) | @Override method getHaloDBFile (line 749) | HaloDBFile getHaloDBFile(int fileId) { method deleteHaloDBFile (line 753) | void deleteHaloDBFile(int fileId) throws IOException { method mergeTombstoneFiles (line 776) | private void mergeTombstoneFiles() { method repairFiles (line 826) | private void repairFiles() { method getLock (line 862) | private FileLock getLock() throws HaloDBException { method getDbDirectory (line 882) | DBDirectory getDbDirectory() { method listDataFileIds (line 886) | Set listDataFileIds() { method isRecordFresh (line 890) | boolean isRecordFresh(byte[] key, InMemoryIndexMetaData metaData) { method getNextSequenceNumber (line 901) | private long getNextSequenceNumber() { method getCurrentWriteFileId (line 905) | private int getCurrentWriteFileId() { method checkIfOptionsAreCorrect (line 909) | private static void checkIfOptionsAreCorrect(HaloDBOptions options) { method isClosing (line 915) | boolean isClosing() { method stats (line 919) | HaloDBStats stats() { method resetStats (line 947) | synchronized void resetStats() { method computeStaleDataMapForStats (line 953) | private Map computeStaleDataMapForStats() { method isCompactionComplete (line 967) | @VisibleForTesting method isTombstoneFilesMerging (line 972) | @VisibleForTesting FILE: src/main/java/com/oath/halodb/HaloDBIterator.java class HaloDBIterator (line 16) | public class HaloDBIterator implements Iterator { method HaloDBIterator (line 27) | HaloDBIterator(HaloDBInternal dbInternal) { method hasNext (line 32) | @Override method next (line 59) | @Override method moveToNextFile (line 69) | private boolean moveToNextFile() throws IOException { method readNextRecord (line 91) | private boolean readNextRecord() { method readRecordFromDataFile (line 115) | private Record readRecordFromDataFile(IndexFileEntry entry) throws IOE... FILE: src/main/java/com/oath/halodb/HaloDBKeyIterator.java class HaloDBKeyIterator (line 9) | public class HaloDBKeyIterator implements Iterator{ method HaloDBKeyIterator (line 20) | HaloDBKeyIterator(HaloDBInternal dbInternal) { method hasNext (line 25) | @Override method next (line 52) | @Override method moveToNextFile (line 62) | private boolean moveToNextFile() throws IOException { method readNextRecord (line 84) | private boolean readNextRecord() { method readValidRecordKey (line 108) | private RecordKey readValidRecordKey(IndexFileEntry entry) throws IOEx... FILE: src/main/java/com/oath/halodb/HaloDBOptions.java class HaloDBOptions (line 10) | public class HaloDBOptions implements Cloneable { method clone (line 49) | public HaloDBOptions clone() { method toString (line 57) | @Override method setCompactionThresholdPerFile (line 76) | public void setCompactionThresholdPerFile(double compactionThresholdPe... method setMaxFileSize (line 80) | public void setMaxFileSize(int maxFileSize) { method setMaxTombstoneFileSize (line 87) | public void setMaxTombstoneFileSize(int maxFileSize) { method setFlushDataSizeBytes (line 94) | public void setFlushDataSizeBytes(long flushDataSizeBytes) { method setNumberOfRecords (line 98) | public void setNumberOfRecords(int numberOfRecords) { method setCompactionJobRate (line 102) | public void setCompactionJobRate(int compactionJobRate) { method setCleanUpInMemoryIndexOnClose (line 106) | public void setCleanUpInMemoryIndexOnClose(boolean cleanUpInMemoryInde... method getCompactionThresholdPerFile (line 110) | public double getCompactionThresholdPerFile() { method getMaxFileSize (line 114) | public int getMaxFileSize() { method getMaxTombstoneFileSize (line 118) | public int getMaxTombstoneFileSize() { method getFlushDataSizeBytes (line 122) | public long getFlushDataSizeBytes() { method getNumberOfRecords (line 126) | public int getNumberOfRecords() { method getCompactionJobRate (line 130) | public int getCompactionJobRate() { method isCleanUpInMemoryIndexOnClose (line 134) | public boolean isCleanUpInMemoryIndexOnClose() { method isCleanUpTombstonesDuringOpen (line 138) | public boolean isCleanUpTombstonesDuringOpen() { method setCleanUpTombstonesDuringOpen (line 142) | public void setCleanUpTombstonesDuringOpen(boolean cleanUpTombstonesDu... method isUseMemoryPool (line 146) | public boolean isUseMemoryPool() { method setUseMemoryPool (line 150) | public void setUseMemoryPool(boolean useMemoryPool) { method getFixedKeySize (line 154) | public int getFixedKeySize() { method setFixedKeySize (line 158) | public void setFixedKeySize(int fixedKeySize) { method getMemoryPoolChunkSize (line 162) | public int getMemoryPoolChunkSize() { method setMemoryPoolChunkSize (line 166) | public void setMemoryPoolChunkSize(int memoryPoolChunkSize) { method isSyncWrite (line 170) | public boolean isSyncWrite() { method enableSyncWrites (line 174) | public void enableSyncWrites(boolean syncWrites) { method getBuildIndexThreads (line 178) | public int getBuildIndexThreads() { method setBuildIndexThreads (line 182) | public void setBuildIndexThreads(int buildIndexThreads) { method setCompactionDisabled (line 195) | void setCompactionDisabled(boolean compactionDisabled) { method isCompactionDisabled (line 198) | boolean isCompactionDisabled() { FILE: src/main/java/com/oath/halodb/HaloDBStats.java class HaloDBStats (line 14) | public class HaloDBStats { method HaloDBStats (line 48) | public HaloDBStats(long statsResetTime, long size, boolean isCompactio... method getSize (line 88) | public long getSize() { method getNumberOfFilesPendingCompaction (line 92) | public int getNumberOfFilesPendingCompaction() { method getStaleDataPercentPerFile (line 96) | public Map getStaleDataPercentPerFile() { method getRehashCount (line 100) | public long getRehashCount() { method getNumberOfSegments (line 104) | public long getNumberOfSegments() { method getMaxSizePerSegment (line 108) | public long getMaxSizePerSegment() { method getNumberOfRecordsCopied (line 112) | public long getNumberOfRecordsCopied() { method getNumberOfRecordsReplaced (line 116) | public long getNumberOfRecordsReplaced() { method getNumberOfRecordsScanned (line 120) | public long getNumberOfRecordsScanned() { method getSizeOfRecordsCopied (line 124) | public long getSizeOfRecordsCopied() { method getSizeOfFilesDeleted (line 128) | public long getSizeOfFilesDeleted() { method getSizeReclaimed (line 132) | public long getSizeReclaimed() { method getOptions (line 136) | public HaloDBOptions getOptions() { method getNumberOfDataFiles (line 140) | public int getNumberOfDataFiles() { method getNumberOfTombstoneFiles (line 144) | public int getNumberOfTombstoneFiles() { method getNumberOfTombstonesFoundDuringOpen (line 148) | public long getNumberOfTombstonesFoundDuringOpen() { method getNumberOfTombstonesCleanedUpDuringOpen (line 152) | public long getNumberOfTombstonesCleanedUpDuringOpen() { method getSegmentStats (line 156) | public SegmentStats[] getSegmentStats() { method getCompactionRateInInternal (line 160) | public long getCompactionRateInInternal() { method getCompactionRateSinceBeginning (line 164) | public long getCompactionRateSinceBeginning() { method isCompactionRunning (line 168) | public boolean isCompactionRunning() { method toString (line 172) | @Override method toStringMap (line 200) | public Map toStringMap() { method staleDataMapToString (line 228) | private String staleDataMapToString() { method getUnit (line 255) | private String getUnit(long value) { FILE: src/main/java/com/oath/halodb/HashAlgorithm.java type HashAlgorithm (line 10) | enum HashAlgorithm { FILE: src/main/java/com/oath/halodb/HashTableUtil.java class HashTableUtil (line 10) | final class HashTableUtil { method allocLen (line 17) | static long allocLen(long keyLen, long valueLen) { method bitNum (line 21) | static int bitNum(long val) { method roundUpToPowerOf2 (line 29) | static long roundUpToPowerOf2(long number, long max) { FILE: src/main/java/com/oath/halodb/HashTableValueSerializer.java type HashTableValueSerializer (line 15) | interface HashTableValueSerializer { method serialize (line 17) | void serialize(T value, ByteBuffer buf); method deserialize (line 19) | T deserialize(ByteBuffer buf); method serializedSize (line 21) | int serializedSize(T value); FILE: src/main/java/com/oath/halodb/Hasher.java class Hasher (line 14) | abstract class Hasher { method create (line 16) | static Hasher create(HashAlgorithm hashAlgorithm) { method forAlg (line 35) | private static String forAlg(HashAlgorithm hashAlgorithm) { method hash (line 43) | abstract long hash(byte[] array); method hash (line 45) | abstract long hash(long address, long offset, int length); class Crc32Hash (line 47) | static final class Crc32Hash extends Hasher { method hash (line 49) | long hash(byte[] array) { method hash (line 57) | long hash(long address, long offset, int length) { class Murmur3Hash (line 62) | static final class Murmur3Hash extends Hasher { method hash (line 64) | long hash(byte[] array) { method getLong (line 155) | private static long getLong(byte[] array, int o) { method hash (line 167) | long hash(long adr, long offset, int length) { method getLong (line 259) | private static long getLong(long adr, long o) { method fmix64 (line 274) | static long fmix64(long k) { method mixK1 (line 283) | static long mixK1(long k1) { method mixK2 (line 290) | static long mixK2(long k2) { method toLong (line 297) | static long toLong(byte value) { class XxHash (line 302) | static final class XxHash extends Hasher { method hash (line 306) | long hash(long address, long offset, int length) { method hash (line 310) | long hash(byte[] array) { FILE: src/main/java/com/oath/halodb/InMemoryIndex.java class InMemoryIndex (line 18) | class InMemoryIndex { method InMemoryIndex (line 26) | InMemoryIndex(int numberOfKeys, boolean useMemoryPool, int fixedKeySiz... method put (line 47) | boolean put(byte[] key, InMemoryIndexMetaData metaData) { method putIfAbsent (line 51) | boolean putIfAbsent(byte[] key, InMemoryIndexMetaData metaData) { method remove (line 55) | boolean remove(byte[] key) { method replace (line 59) | boolean replace(byte[] key, InMemoryIndexMetaData oldValue, InMemoryIn... method get (line 63) | InMemoryIndexMetaData get(byte[] key) { method containsKey (line 67) | boolean containsKey(byte[] key) { method close (line 71) | void close() { method size (line 79) | long size() { method stats (line 83) | public OffHeapHashTableStats stats() { method resetStats (line 87) | void resetStats() { method getNoOfSegments (line 91) | int getNoOfSegments() { method getMaxSizeOfEachSegment (line 95) | int getMaxSizeOfEachSegment() { FILE: src/main/java/com/oath/halodb/InMemoryIndexMetaData.java class InMemoryIndexMetaData (line 14) | class InMemoryIndexMetaData { method InMemoryIndexMetaData (line 23) | InMemoryIndexMetaData(int fileId, int valueOffset, int valueSize, long... method serialize (line 30) | void serialize(ByteBuffer byteBuffer) { method deserialize (line 38) | static InMemoryIndexMetaData deserialize(ByteBuffer byteBuffer) { method getFileId (line 47) | int getFileId() { method getValueOffset (line 51) | int getValueOffset() { method getValueSize (line 55) | int getValueSize() { method getSequenceNumber (line 59) | long getSequenceNumber() { FILE: src/main/java/com/oath/halodb/InMemoryIndexMetaDataSerializer.java class InMemoryIndexMetaDataSerializer (line 10) | class InMemoryIndexMetaDataSerializer implements HashTableValueSerialize... method serialize (line 12) | public void serialize(InMemoryIndexMetaData recordMetaData, ByteBuffer... method deserialize (line 17) | public InMemoryIndexMetaData deserialize(ByteBuffer byteBuffer) { method serializedSize (line 21) | public int serializedSize(InMemoryIndexMetaData recordMetaData) { FILE: src/main/java/com/oath/halodb/IndexFile.java class IndexFile (line 21) | class IndexFile { method IndexFile (line 37) | IndexFile(int fileId, DBDirectory dbDirectory, HaloDBOptions options) { method create (line 43) | void create() throws IOException { method createRepairFile (line 51) | void createRepairFile() throws IOException { method open (line 60) | void open() throws IOException { method close (line 65) | void close() throws IOException { method delete (line 71) | void delete() throws IOException { method write (line 78) | void write(IndexFileEntry entry) throws IOException { method flushToDisk (line 98) | void flushToDisk() throws IOException { method newIterator (line 103) | IndexFileIterator newIterator() throws IOException { method getPath (line 107) | Path getPath() { method getIndexFile (line 111) | private File getIndexFile() { method getRepairFile (line 115) | private File getRepairFile() { class IndexFileIterator (line 119) | public class IndexFileIterator implements Iterator { method IndexFileIterator (line 125) | public IndexFileIterator() throws IOException { method hasNext (line 129) | @Override method next (line 134) | @Override FILE: src/main/java/com/oath/halodb/IndexFileEntry.java class IndexFileEntry (line 14) | class IndexFileEntry { method IndexFileEntry (line 43) | IndexFileEntry(byte[] key, int recordSize, int recordOffset, long sequ... method serialize (line 54) | ByteBuffer[] serialize() { method deserialize (line 69) | static IndexFileEntry deserialize(ByteBuffer buffer) { method deserializeIfNotCorrupted (line 83) | static IndexFileEntry deserializeIfNotCorrupted(ByteBuffer buffer) { method computeCheckSum (line 112) | private long computeCheckSum(byte[] header) { method computeCheckSum (line 119) | long computeCheckSum() { method getKey (line 129) | byte[] getKey() { method getRecordSize (line 133) | int getRecordSize() { method getRecordOffset (line 137) | int getRecordOffset() { method getSequenceNumber (line 141) | long getSequenceNumber() { method getVersion (line 145) | int getVersion() { method getCheckSum (line 149) | long getCheckSum() { FILE: src/main/java/com/oath/halodb/JNANativeAllocator.java class JNANativeAllocator (line 12) | final class JNANativeAllocator implements NativeMemoryAllocator { method allocate (line 14) | public long allocate(long size) { method free (line 22) | public void free(long peer) { method getTotalAllocated (line 26) | public long getTotalAllocated() { FILE: src/main/java/com/oath/halodb/KeyBuffer.java class KeyBuffer (line 12) | final class KeyBuffer { method KeyBuffer (line 17) | KeyBuffer(byte[] buffer) { method hash (line 21) | long hash() { method finish (line 25) | KeyBuffer finish(Hasher hasher) { method equals (line 31) | public boolean equals(Object o) { method size (line 44) | public int size() { method hashCode (line 48) | public int hashCode() { method pad (line 52) | private static String pad(int val) { method toString (line 60) | @Override method sameKey (line 76) | boolean sameKey(long hashEntryAdr) { method compareKey (line 81) | private boolean compareKey(long hashEntryAdr) { FILE: src/main/java/com/oath/halodb/LongArrayList.java class LongArrayList (line 12) | final class LongArrayList { method LongArrayList (line 17) | public LongArrayList() { method LongArrayList (line 21) | public LongArrayList(int initialCapacity) { method getLong (line 25) | public long getLong(int i) { method clear (line 32) | public void clear() { method size (line 36) | public int size() { method add (line 40) | public void add(long value) { FILE: src/main/java/com/oath/halodb/MemoryPoolAddress.java class MemoryPoolAddress (line 12) | class MemoryPoolAddress { method MemoryPoolAddress (line 17) | MemoryPoolAddress(byte chunkIndex, int chunkOffset) { method equals (line 22) | @Override method hashCode (line 34) | @Override FILE: src/main/java/com/oath/halodb/MemoryPoolChunk.java class MemoryPoolChunk (line 15) | class MemoryPoolChunk { method MemoryPoolChunk (line 24) | private MemoryPoolChunk(long address, int chunkSize, int fixedKeyLengt... method create (line 32) | static MemoryPoolChunk create(int chunkSize, int fixedKeyLength, int f... method destroy (line 41) | void destroy() { method getNextAddress (line 45) | MemoryPoolAddress getNextAddress(int slotOffset) { method setNextAddress (line 52) | void setNextAddress(int slotOffset, MemoryPoolAddress next) { method fillNextSlot (line 60) | void fillNextSlot(byte[] key, byte[] value, MemoryPoolAddress nextAddr... method fillSlot (line 68) | void fillSlot(int slotOffset, byte[] key, byte[] value, MemoryPoolAddr... method setValue (line 88) | void setValue(byte[] value, int slotOffset) { method getWriteOffset (line 99) | int getWriteOffset() { method remaining (line 103) | int remaining() { method readOnlyValueByteBuffer (line 107) | ByteBuffer readOnlyValueByteBuffer(int offset) { method readOnlyKeyByteBuffer (line 111) | ByteBuffer readOnlyKeyByteBuffer(int offset) { method computeHash (line 115) | long computeHash(int slotOffset, Hasher hasher) { method compareKey (line 120) | boolean compareKey(int slotOffset, byte[] key) { method compareValue (line 128) | boolean compareValue(int slotOffset, byte[] value) { method compare (line 136) | private boolean compare(int offset, byte[] array) { method getKeyLength (line 162) | private byte getKeyLength(int slotOffset) { FILE: src/main/java/com/oath/halodb/MemoryPoolHashEntries.java class MemoryPoolHashEntries (line 8) | class MemoryPoolHashEntries { FILE: src/main/java/com/oath/halodb/NativeMemoryAllocator.java type NativeMemoryAllocator (line 10) | interface NativeMemoryAllocator { method allocate (line 12) | long allocate(long size); method free (line 13) | void free(long peer); method getTotalAllocated (line 14) | long getTotalAllocated(); FILE: src/main/java/com/oath/halodb/NonMemoryPoolHashEntries.java class NonMemoryPoolHashEntries (line 13) | final class NonMemoryPoolHashEntries { method init (line 24) | static void init(int keyLen, long hashEntryAdr) { method getNext (line 29) | static long getNext(long hashEntryAdr) { method setNext (line 33) | static void setNext(long hashEntryAdr, long nextAdr) { method getKeyLen (line 42) | static int getKeyLen(long hashEntryAdr) { FILE: src/main/java/com/oath/halodb/OffHeapHashTable.java type OffHeapHashTable (line 14) | interface OffHeapHashTable extends Closeable { method put (line 21) | boolean put(byte[] key, V value); method addOrReplace (line 32) | boolean addOrReplace(byte[] key, V old, V value); method putIfAbsent (line 39) | boolean putIfAbsent(byte[] key, V value); method remove (line 47) | boolean remove(byte[] key); method clear (line 52) | void clear(); method get (line 60) | V get(byte[] key); method containsKey (line 69) | boolean containsKey(byte[] key); method resetStatistics (line 73) | void resetStatistics(); method size (line 75) | long size(); method hashTableSizes (line 77) | int[] hashTableSizes(); method perSegmentStats (line 79) | SegmentStats[] perSegmentStats(); method getBucketHistogram (line 81) | EstimatedHistogram getBucketHistogram(); method segments (line 83) | int segments(); method loadFactor (line 85) | float loadFactor(); method stats (line 87) | OffHeapHashTableStats stats(); FILE: src/main/java/com/oath/halodb/OffHeapHashTableBuilder.java class OffHeapHashTableBuilder (line 10) | class OffHeapHashTableBuilder { method OffHeapHashTableBuilder (line 24) | private OffHeapHashTableBuilder() { method roundUpToPowerOf2 (line 32) | static int roundUpToPowerOf2(int number, int max) { method newBuilder (line 38) | static OffHeapHashTableBuilder newBuilder() { method build (line 42) | public OffHeapHashTable build() { method getHashTableSize (line 59) | public int getHashTableSize() { method hashTableSize (line 63) | public OffHeapHashTableBuilder hashTableSize(int hashTableSize) { method getMemoryPoolChunkSize (line 71) | public int getMemoryPoolChunkSize() { method memoryPoolChunkSize (line 75) | public OffHeapHashTableBuilder memoryPoolChunkSize(int chunkSize) { method getValueSerializer (line 83) | public HashTableValueSerializer getValueSerializer() { method valueSerializer (line 87) | public OffHeapHashTableBuilder valueSerializer(HashTableValueSerial... method getSegmentCount (line 92) | public int getSegmentCount() { method segmentCount (line 96) | public OffHeapHashTableBuilder segmentCount(int segmentCount) { method getLoadFactor (line 104) | public float getLoadFactor() { method loadFactor (line 108) | public OffHeapHashTableBuilder loadFactor(float loadFactor) { method getFixedKeySize (line 116) | public int getFixedKeySize() { method fixedKeySize (line 120) | public OffHeapHashTableBuilder fixedKeySize(int fixedKeySize) { method getFixedValueSize (line 128) | public int getFixedValueSize() { method fixedValueSize (line 132) | public OffHeapHashTableBuilder fixedValueSize(int fixedValueSize) { method getHashAlgorighm (line 140) | public HashAlgorithm getHashAlgorighm() { method getHasher (line 144) | public Hasher getHasher() { method hashMode (line 148) | public OffHeapHashTableBuilder hashMode(HashAlgorithm hashMode) { method isUnlocked (line 157) | public boolean isUnlocked() { method unlocked (line 161) | public OffHeapHashTableBuilder unlocked(boolean unlocked) { method isUseMemoryPool (line 166) | public boolean isUseMemoryPool() { method useMemoryPool (line 170) | public OffHeapHashTableBuilder useMemoryPool(boolean useMemoryPool) { FILE: src/main/java/com/oath/halodb/OffHeapHashTableImpl.java class OffHeapHashTableImpl (line 21) | final class OffHeapHashTableImpl implements OffHeapHashTable { method OffHeapHashTableImpl (line 41) | OffHeapHashTableImpl(OffHeapHashTableBuilder builder) { method allocateSegment (line 77) | private Segment allocateSegment(OffHeapHashTableBuilder builder) { method get (line 84) | public V get(byte[] key) { method containsKey (line 93) | public boolean containsKey(byte[] key) { method put (line 102) | public boolean put(byte[] k, V v) { method addOrReplace (line 106) | public boolean addOrReplace(byte[] key, V old, V value) { method putIfAbsent (line 110) | public boolean putIfAbsent(byte[] k, V v) { method putInternal (line 114) | private boolean putInternal(byte[] key, V value, boolean ifAbsent, V o... method valueSize (line 136) | private int valueSize(V v) { method remove (line 144) | public boolean remove(byte[] k) { method segment (line 153) | private Segment segment(long hash) { method keySource (line 158) | private KeyBuffer keySource(byte[] key) { method clear (line 167) | public void clear() { method setCapacity (line 178) | public void setCapacity(long capacity) { method close (line 182) | public void close() { method resetStatistics (line 198) | public void resetStatistics() { method stats (line 205) | public OffHeapHashTableStats stats() { method size (line 230) | public long size() { method segments (line 238) | public int segments() { method loadFactor (line 242) | public float loadFactor() { method hashTableSizes (line 246) | public int[] hashTableSizes() { method perSegmentSizes (line 254) | public long[] perSegmentSizes() { method perSegmentStats (line 262) | public SegmentStats[] perSegmentStats() { method getBucketHistogram (line 272) | public EstimatedHistogram getBucketHistogram() { method toString (line 300) | public String toString() { FILE: src/main/java/com/oath/halodb/OffHeapHashTableStats.java class OffHeapHashTableStats (line 12) | final class OffHeapHashTableStats { method OffHeapHashTableStats (line 24) | public OffHeapHashTableStats(long hitCount, long missCount, method getRehashCount (line 39) | public long getRehashCount() { method getHitCount (line 43) | public long getHitCount() { method getMissCount (line 47) | public long getMissCount() { method getSize (line 51) | public long getSize() { method getPutAddCount (line 55) | public long getPutAddCount() { method getPutReplaceCount (line 59) | public long getPutReplaceCount() { method getPutFailCount (line 63) | public long getPutFailCount() { method getRemoveCount (line 67) | public long getRemoveCount() { method getSegmentStats (line 71) | public SegmentStats[] getSegmentStats() { method toString (line 75) | public String toString() { method maxOf (line 86) | private static long maxOf(long[] arr) { method minOf (line 96) | private static long minOf(long[] arr) { method avgOf (line 106) | private static double avgOf(long[] arr) { method equals (line 114) | public boolean equals(Object o) { method hashCode (line 133) | public int hashCode() { FILE: src/main/java/com/oath/halodb/Record.java class Record (line 12) | public class Record { method Record (line 20) | public Record(byte[] key, byte[] value) { method serialize (line 26) | ByteBuffer[] serialize() { method deserialize (line 31) | static Record deserialize(ByteBuffer buffer, short keySize, int valueS... method getKey (line 40) | public byte[] getKey() { method getValue (line 44) | public byte[] getValue() { method getRecordMetaData (line 48) | InMemoryIndexMetaData getRecordMetaData() { method setRecordMetaData (line 52) | void setRecordMetaData(InMemoryIndexMetaData recordMetaData) { method getRecordSize (line 59) | int getRecordSize() { method setSequenceNumber (line 63) | void setSequenceNumber(long sequenceNumber) { method getSequenceNumber (line 67) | long getSequenceNumber() { method setVersion (line 71) | void setVersion(int version) { method getVersion (line 78) | int getVersion() { method getHeader (line 82) | Header getHeader() { method setHeader (line 86) | void setHeader(Header header) { method serializeHeaderAndComputeChecksum (line 90) | private ByteBuffer serializeHeaderAndComputeChecksum() { method verifyChecksum (line 97) | boolean verifyChecksum() { method computeCheckSum (line 104) | private long computeCheckSum(byte[] header) { method equals (line 114) | @Override class Header (line 129) | static class Header { method Header (line 154) | Header(long checkSum, int version, byte keySize, int valueSize, long... method deserialize (line 163) | static Header deserialize(ByteBuffer buffer) { method serialize (line 175) | ByteBuffer serialize() { method verifyHeader (line 186) | static boolean verifyHeader(Record.Header header) { method getKeySize (line 192) | byte getKeySize() { method getValueSize (line 196) | int getValueSize() { method getRecordSize (line 200) | int getRecordSize() { method getSequenceNumber (line 204) | long getSequenceNumber() { method getCheckSum (line 208) | long getCheckSum() { method getVersion (line 212) | int getVersion() { FILE: src/main/java/com/oath/halodb/RecordKey.java class RecordKey (line 5) | public class RecordKey { method RecordKey (line 7) | public RecordKey(byte[] key) { method getBytes (line 11) | public byte[] getBytes() { method equals (line 15) | @Override FILE: src/main/java/com/oath/halodb/Segment.java class Segment (line 14) | abstract class Segment { method Segment (line 26) | Segment(HashTableValueSerializer valueSerializer, int fixedValueLen... method Segment (line 30) | Segment(HashTableValueSerializer valueSerializer, int fixedValueLen... method lock (line 39) | boolean lock() { method unlock (line 57) | void unlock(boolean wasFirst) { method keySource (line 67) | KeyBuffer keySource(byte[] key) { method getEntry (line 72) | abstract V getEntry(KeyBuffer key); method containsEntry (line 74) | abstract boolean containsEntry(KeyBuffer key); method putEntry (line 76) | abstract boolean putEntry(byte[] key, V value, long hash, boolean ifAb... method removeEntry (line 78) | abstract boolean removeEntry(KeyBuffer key); method size (line 80) | abstract long size(); method release (line 82) | abstract void release(); method clear (line 84) | abstract void clear(); method hitCount (line 86) | abstract long hitCount(); method missCount (line 88) | abstract long missCount(); method putAddCount (line 90) | abstract long putAddCount(); method putReplaceCount (line 92) | abstract long putReplaceCount(); method removeCount (line 94) | abstract long removeCount(); method resetStatistics (line 96) | abstract void resetStatistics(); method rehashes (line 98) | abstract long rehashes(); method loadFactor (line 100) | abstract float loadFactor(); method hashTableSize (line 102) | abstract int hashTableSize(); method updateBucketHistogram (line 104) | abstract void updateBucketHistogram(EstimatedHistogram hist); method numberOfChunks (line 109) | long numberOfChunks() { method numberOfSlots (line 113) | long numberOfSlots() { method freeListSize (line 117) | long freeListSize() { FILE: src/main/java/com/oath/halodb/SegmentNonMemoryPool.java class SegmentNonMemoryPool (line 16) | class SegmentNonMemoryPool extends Segment { method SegmentNonMemoryPool (line 42) | SegmentNonMemoryPool(OffHeapHashTableBuilder builder) { method release (line 68) | @Override method size (line 79) | @Override method hitCount (line 84) | @Override method missCount (line 89) | @Override method putAddCount (line 94) | @Override method putReplaceCount (line 99) | @Override method removeCount (line 104) | @Override method resetStatistics (line 109) | @Override method rehashes (line 120) | @Override method getEntry (line 125) | @Override method containsEntry (line 146) | @Override method putEntry (line 166) | @Override method putEntry (line 200) | private boolean putEntry(long newHashEntryAdr, long hash, long keyLen,... method notSameKey (line 265) | private static boolean notSameKey(long newHashEntryAdr, long newHash, ... method serializeForPut (line 271) | private void serializeForPut(byte[] key, V value, long hashEntryAdr) { method freeAndThrow (line 282) | private void freeAndThrow(Throwable e, long hashEntryAdr) { method clear (line 293) | @Override method removeEntry (line 315) | @Override method rehash (line 348) | private void rehash() { method loadFactor (line 384) | float loadFactor() { method hashTableSize (line 388) | int hashTableSize() { method updateBucketHistogram (line 392) | void updateBucketHistogram(EstimatedHistogram hist) { method getEntryAddresses (line 401) | void getEntryAddresses(int mapSegmentIndex, int nSegments, LongArrayLi... class Table (line 416) | static final class Table { method create (line 422) | static Table create(int hashTableSize, boolean throwOOME) { method Table (line 428) | private Table(long address, int hashTableSize) { method clear (line 434) | void clear() { method release (line 440) | void release() { method finalize (line 445) | protected void finalize() throws Throwable { method getFirst (line 452) | long getFirst(long hash) { method setFirst (line 456) | void setFirst(long hash, long hashEntryAdr) { method bucketOffset (line 460) | long bucketOffset(long hash) { method bucketIndexForHash (line 464) | private int bucketIndexForHash(long hash) { method removeLink (line 468) | void removeLink(long hash, long hashEntryAdr, long prevEntryAdr) { method replaceSentinelLink (line 474) | void replaceSentinelLink(long hash, long hashEntryAdr, long prevEntr... method removeLinkInternal (line 480) | private void removeLinkInternal(long hash, long hashEntryAdr, long p... method addAsHead (line 498) | void addAsHead(long hash, long hashEntryAdr) { method size (line 504) | int size() { method updateBucketHistogram (line 508) | void updateBucketHistogram(EstimatedHistogram h) { method removeInternal (line 519) | private void removeInternal(long hashEntryAdr, long prevEntryAdr, long... method add (line 523) | private void add(long hashEntryAdr, long hash) { method toString (line 527) | @Override FILE: src/main/java/com/oath/halodb/SegmentStats.java class SegmentStats (line 10) | class SegmentStats { method SegmentStats (line 17) | public SegmentStats(long noOfEntries, long numberOfChunks, long number... method toString (line 24) | @Override method equals (line 42) | @Override method hashCode (line 57) | @Override FILE: src/main/java/com/oath/halodb/SegmentWithMemoryPool.java class SegmentWithMemoryPool (line 19) | class SegmentWithMemoryPool extends Segment { method SegmentWithMemoryPool (line 57) | SegmentWithMemoryPool(OffHeapHashTableBuilder builder) { method getEntry (line 88) | @Override method containsEntry (line 110) | @Override method putEntry (line 132) | @Override method removeEntry (line 191) | @Override method getNext (line 215) | private MemoryPoolAddress getNext(MemoryPoolAddress address) { method writeToFreeSlot (line 224) | private MemoryPoolAddress writeToFreeSlot(byte[] key, byte[] value, Me... method removeInternal (line 252) | private void removeInternal(MemoryPoolAddress address, MemoryPoolAddre... method rehash (line 268) | private void rehash() { method size (line 298) | @Override method release (line 303) | @Override method clear (line 318) | @Override method hitCount (line 332) | @Override method missCount (line 337) | @Override method putAddCount (line 342) | @Override method putReplaceCount (line 347) | @Override method removeCount (line 352) | @Override method resetStatistics (line 357) | @Override method numberOfChunks (line 367) | @Override method numberOfSlots (line 372) | @Override method freeListSize (line 377) | @Override method rehashes (line 382) | @Override method loadFactor (line 387) | @Override method hashTableSize (line 392) | @Override method updateBucketHistogram (line 397) | @Override class Table (line 407) | static final class Table { method create (line 413) | static Table create(int hashTableSize) { method Table (line 419) | private Table(long address, int hashTableSize) { method clear (line 425) | void clear() { method release (line 429) | void release() { method finalize (line 434) | protected void finalize() throws Throwable { method getFirst (line 441) | MemoryPoolAddress getFirst(long hash) { method addAsHead (line 449) | void addAsHead(long hash, MemoryPoolAddress entryAddress) { method bucketOffset (line 455) | long bucketOffset(long hash) { method bucketIndexForHash (line 459) | private int bucketIndexForHash(long hash) { method size (line 463) | int size() { method updateBucketHistogram (line 467) | void updateBucketHistogram(EstimatedHistogram h, final List { method TombstoneFileIterator (line 181) | TombstoneFileIterator(boolean discardCorruptedRecords) throws IOExce... method hasNext (line 186) | @Override method next (line 191) | @Override FILE: src/main/java/com/oath/halodb/Uns.java class Uns (line 25) | final class Uns { class AllocInfo (line 41) | private static final class AllocInfo { method AllocInfo (line 46) | AllocInfo(Long size, Throwable trace) { method clearUnsDebugForTest (line 52) | static void clearUnsDebugForTest() { method freed (line 69) | private static void freed(long address) { method allocated (line 80) | private static void allocated(long address, long bytes) { method validate (line 91) | private static void validate(long address, long offset, long len) { method Uns (line 169) | private Uns() { method getLongFromByteArray (line 172) | static long getLongFromByteArray(byte[] array, int offset) { method getIntFromByteArray (line 178) | static int getIntFromByteArray(byte[] array, int offset) { method getShortFromByteArray (line 185) | static short getShortFromByteArray(byte[] array, int offset) { method getAndPutLong (line 192) | static long getAndPutLong(long address, long offset, long value) { method putLong (line 198) | static void putLong(long address, long offset, long value) { method getLong (line 203) | static long getLong(long address, long offset) { method putInt (line 208) | static void putInt(long address, long offset, int value) { method getInt (line 213) | static int getInt(long address, long offset) { method putShort (line 218) | static void putShort(long address, long offset, short value) { method getShort (line 223) | static short getShort(long address, long offset) { method putByte (line 228) | static void putByte(long address, long offset, byte value) { method getByte (line 233) | static byte getByte(long address, long offset) { method decrement (line 238) | static boolean decrement(long address, long offset) { method increment (line 244) | static void increment(long address, long offset) { method copyMemory (line 249) | static void copyMemory(byte[] arr, int off, long address, long offset,... method copyMemory (line 254) | static void copyMemory(long address, long offset, byte[] arr, int off,... method copyMemory (line 259) | static void copyMemory(long src, long srcOffset, long dst, long dstOff... method setMemory (line 265) | static void setMemory(long address, long offset, long len, byte val) { method memoryCompare (line 270) | static boolean memoryCompare(long adr1, long off1, long adr2, long off... method crc32 (line 304) | static long crc32(long address, long offset, long len) { method getTotalAllocated (line 309) | static long getTotalAllocated() { method allocate (line 313) | static long allocate(long bytes) { method allocate (line 317) | static long allocate(long bytes, boolean throwOOME) { method allocateIOException (line 327) | static long allocateIOException(long bytes) throws IOException { method allocateIOException (line 331) | static long allocateIOException(long bytes, boolean throwOOME) throws ... method free (line 339) | static void free(long address) { method directBufferFor (line 369) | static ByteBuffer directBufferFor(long address, long offset, long len,... method invalidateDirectBuffer (line 387) | static void invalidateDirectBuffer(ByteBuffer buffer) { method readOnlyBuffer (line 394) | static ByteBuffer readOnlyBuffer(long hashEntryAdr, int length, long o... method buffer (line 398) | static ByteBuffer buffer(long hashEntryAdr, long length, long offset) { FILE: src/main/java/com/oath/halodb/UnsExt.java class UnsExt (line 12) | abstract class UnsExt { method UnsExt (line 16) | UnsExt(Unsafe unsafe) { method getAndPutLong (line 20) | abstract long getAndPutLong(long address, long offset, long value); method getAndAddInt (line 22) | abstract int getAndAddInt(long address, long offset, int value); method crc32 (line 24) | abstract long crc32(long address, long offset, long len); FILE: src/main/java/com/oath/halodb/UnsExt8.java class UnsExt8 (line 14) | final class UnsExt8 extends UnsExt { method UnsExt8 (line 16) | UnsExt8(Unsafe unsafe) { method getAndPutLong (line 20) | long getAndPutLong(long address, long offset, long value) { method getAndAddInt (line 24) | int getAndAddInt(long address, long offset, int value) { method crc32 (line 28) | long crc32(long address, long offset, long len) { FILE: src/main/java/com/oath/halodb/UnsafeAllocator.java class UnsafeAllocator (line 14) | final class UnsafeAllocator implements NativeMemoryAllocator { method allocate (line 28) | public long allocate(long size) { method free (line 36) | public void free(long peer) { method getTotalAllocated (line 40) | public long getTotalAllocated() { FILE: src/main/java/com/oath/halodb/Utils.java class Utils (line 8) | class Utils { method roundUpToPowerOf2 (line 9) | static long roundUpToPowerOf2(long number) { method getValueOffset (line 13) | static int getValueOffset(int recordOffset, byte[] key) { method getRecordSize (line 18) | static int getRecordSize(int keySize, int valueSize) { method getValueSize (line 22) | static int getValueSize(int recordSize, byte[] key) { method getMetaData (line 26) | static InMemoryIndexMetaData getMetaData(IndexFileEntry entry, int fil... method toUnsignedIntFromInt (line 30) | static long toUnsignedIntFromInt(int value) { method toSignedIntFromLong (line 34) | static int toSignedIntFromLong(long value) { method toUnsignedByte (line 38) | static int toUnsignedByte(byte value) { FILE: src/main/java/com/oath/halodb/Versions.java class Versions (line 8) | class Versions { FILE: src/main/java/com/oath/halodb/histo/EstimatedHistogram.java class EstimatedHistogram (line 17) | public class EstimatedHistogram { method EstimatedHistogram (line 34) | public EstimatedHistogram() { method EstimatedHistogram (line 38) | public EstimatedHistogram(int bucketCount) { method EstimatedHistogram (line 43) | public EstimatedHistogram(long[] offsets, long[] bucketData) { method newOffsets (line 49) | private static long[] newOffsets(int size) { method getBucketOffsets (line 68) | public long[] getBucketOffsets() { method add (line 75) | public void add(long n) { method get (line 88) | long get(int bucket) { method getBuckets (line 96) | public long[] getBuckets(boolean reset) { method min (line 116) | public long min() { method max (line 129) | public long max() { method percentile (line 146) | public long percentile(double percentile) { method mean (line 172) | public long mean() { method count (line 192) | public long count() { method isOverflowed (line 204) | public boolean isOverflowed() { method log (line 211) | public void log(Logger log) { method toString (line 241) | public String toString() { method nameOfRange (line 275) | private static String nameOfRange(long[] bucketOffsets, int index) { method appendRange (line 281) | private static void appendRange(StringBuilder sb, long[] bucketOffsets... method equals (line 304) | @Override method hashCode (line 319) | @Override FILE: src/test/java/com/oath/halodb/CheckOffHeapHashTable.java class CheckOffHeapHashTable (line 19) | final class CheckOffHeapHashTable implements OffHeapHashTable method CheckOffHeapHashTable (line 30) | CheckOffHeapHashTable(OffHeapHashTableBuilder builder) method put (line 47) | public boolean put(byte[] key, V value) method addOrReplace (line 56) | public boolean addOrReplace(byte[] key, V old, V value) method putIfAbsent (line 66) | public boolean putIfAbsent(byte[] key, V v) method putIfAbsent (line 75) | public boolean putIfAbsent(byte[] key, V value, long expireAt) method put (line 80) | public boolean put(byte[] key, V value, long expireAt) method remove (line 85) | public boolean remove(byte[] key) method clear (line 92) | public void clear() method get (line 98) | public V get(byte[] key) method containsKey (line 110) | public boolean containsKey(byte[] key) method resetStatistics (line 117) | public void resetStatistics() method size (line 124) | public long size() method hashTableSizes (line 132) | public int[] hashTableSizes() method perSegmentStats (line 138) | public SegmentStats[] perSegmentStats() { method getBucketHistogram (line 148) | public EstimatedHistogram getBucketHistogram() method segments (line 153) | public int segments() method loadFactor (line 158) | public float loadFactor() method stats (line 163) | public OffHeapHashTableStats stats() method putAddCount (line 178) | private long putAddCount() method putReplaceCount (line 186) | private long putReplaceCount() method removeCount (line 194) | private long removeCount() method hitCount (line 202) | private long hitCount() method missCount (line 210) | private long missCount() method close (line 218) | public void close() method segment (line 227) | private CheckSegment segment(long hash) method keySource (line 233) | KeyBuffer keySource(byte[] key) { method value (line 238) | private byte[] value(V value) FILE: src/test/java/com/oath/halodb/CheckSegment.java class CheckSegment (line 19) | final class CheckSegment { method CheckSegment (line 30) | public CheckSegment(int initialCapacity, float loadFactor) { method clear (line 34) | synchronized void clear() method get (line 40) | synchronized byte[] get(KeyBuffer keyBuffer) method put (line 56) | synchronized boolean put(KeyBuffer keyBuffer, byte[] data, boolean ifA... method remove (line 81) | synchronized boolean remove(KeyBuffer keyBuffer) method size (line 93) | synchronized long size() method sizeOf (line 98) | static long sizeOf(KeyBuffer key, byte[] value) method resetStatistics (line 104) | void resetStatistics() FILE: src/test/java/com/oath/halodb/CompactionWithErrorsTest.java class CompactionWithErrorsTest (line 27) | public class CompactionWithErrorsTest extends TestBase { method testCompactionWithException (line 29) | @Test method testRestartCompactionThreadAfterCrash (line 77) | @Test method testCompactionThreadStopWithIOException (line 151) | @Test method insertAndUpdate (line 183) | private List insertAndUpdate(HaloDB db, int numberOfRecords) t... FILE: src/test/java/com/oath/halodb/CrossCheckTest.java class CrossCheckTest (line 30) | public class CrossCheckTest method deinit (line 36) | @AfterMethod(alwaysRun = true) method cache (line 42) | static DoubleCheckOffHeapHashTableImpl cache(HashAlgorithm has... method cache (line 47) | static DoubleCheckOffHeapHashTableImpl cache(HashAlgorithm has... method cache (line 52) | static DoubleCheckOffHeapHashTableImpl cache(HashAlgorithm has... method cache (line 57) | static DoubleCheckOffHeapHashTableImpl cache(HashAlgorithm has... method cacheEviction (line 77) | @DataProvider(name = "hashAlgorithms") method testBasics (line 91) | @Test(dataProvider = "hashAlgorithms") method testManyValues (line 123) | @Test(dataProvider = "hashAlgorithms", dependsOnMethods = "testBasics") method testRehash (line 182) | @Test(dataProvider = "hashAlgorithms", dependsOnMethods = "testBasics") method testPutTooLargeValue (line 268) | @Test(dataProvider = "hashAlgorithms", dependsOnMethods = "testBasics", method testPutTooLargeKey (line 280) | @Test(dataProvider = "hashAlgorithms", dependsOnMethods = "testBasics", method testAddOrReplace (line 294) | @Test(dataProvider = "hashAlgorithms", dependsOnMethods = "testBasics") method testPutIfAbsent (line 327) | @Test(dataProvider = "hashAlgorithms") method testRemove (line 343) | @Test(dataProvider = "hashAlgorithms") method testClear (line 364) | @Test(dataProvider = "hashAlgorithms") method testGet_Put (line 385) | @Test(dataProvider = "hashAlgorithms") method testContainsKey (line 409) | @Test(dataProvider = "hashAlgorithms") method testGetBucketHistogram (line 423) | @Test(dataProvider = "hashAlgorithms") method sum (line 452) | private static int sum(int[] ints) method testResetStatistics (line 460) | @Test(dataProvider = "hashAlgorithms") FILE: src/test/java/com/oath/halodb/DBDirectoryTest.java class DBDirectoryTest (line 25) | public class DBDirectoryTest { method testListIndexFiles (line 33) | @Test method testListDataFiles (line 41) | @Test method testListTombstoneFiles (line 50) | @Test method testSyncMetaDataNoError (line 60) | @Test method createDirectory (line 65) | @BeforeMethod method deleteDirectory (line 102) | @AfterMethod FILE: src/test/java/com/oath/halodb/DBMetaDataTest.java class DBMetaDataTest (line 19) | public class DBMetaDataTest { method testDBMetaData (line 24) | @Test method testCheckSum (line 79) | @Test method createDirectory (line 98) | @BeforeMethod method deleteDirectory (line 103) | @AfterMethod FILE: src/test/java/com/oath/halodb/DBRepairTest.java class DBRepairTest (line 19) | public class DBRepairTest extends TestBase { method testRepairDB (line 21) | @Test(dataProvider = "Options") method testRepairDBWithCompaction (line 82) | @Test(dataProvider = "Options") method testRepairWithMultipleTombstoneFiles (line 130) | @Test FILE: src/test/java/com/oath/halodb/DataConsistencyDB.java class DataConsistencyDB (line 23) | class DataConsistencyDB { method DataConsistencyDB (line 34) | DataConsistencyDB(HaloDB haloDB, int noOfRecords) { method put (line 43) | void put(int keyIndex, ByteBuffer keyBuf, byte[] value) throws HaloDBE... method compareValues (line 56) | int compareValues(int keyIndex, ByteBuffer keyBuf) throws HaloDBExcept... method checkSize (line 67) | boolean checkSize() { method delete (line 71) | void delete(int keyIndex, ByteBuffer keyBuf) throws HaloDBException { method iterateAndCheck (line 83) | boolean iterateAndCheck(HaloDB db) { method checkValues (line 104) | private int checkValues(long key, ByteBuffer keyBuf, HaloDB haloDB) th... method containsKey (line 127) | boolean containsKey(byte[] key) throws HaloDBException { FILE: src/test/java/com/oath/halodb/DataConsistencyTest.java class DataConsistencyTest (line 21) | public class DataConsistencyTest extends TestBase { method init (line 42) | @BeforeMethod method testConcurrentReadAndUpdates (line 51) | @Test(dataProvider = "Options") class Writer (line 109) | class Writer extends Thread { method Writer (line 117) | Writer(DataConsistencyDB db) { method run (line 122) | @Override class Reader (line 185) | class Reader extends Thread { method Reader (line 191) | Reader(DataConsistencyDB db) { method run (line 196) | @Override method getRandomKeyLength (line 216) | private int getRandomKeyLength() { method generateRandomValueWithVersion (line 220) | private byte[] generateRandomValueWithVersion(long version, int size) { method getVersionFromValue (line 226) | static long getVersionFromValue(byte[] value) { FILE: src/test/java/com/oath/halodb/DoubleCheckOffHeapHashTableImpl.java class DoubleCheckOffHeapHashTableImpl (line 22) | public class DoubleCheckOffHeapHashTableImpl implements OffHeapHashTa... method DoubleCheckOffHeapHashTableImpl (line 27) | public DoubleCheckOffHeapHashTableImpl(OffHeapHashTableBuilder buil... method put (line 33) | public boolean put(byte[] key, V value) method addOrReplace (line 41) | public boolean addOrReplace(byte[] key, V old, V value) method putIfAbsent (line 49) | public boolean putIfAbsent(byte[] k, V v) method putIfAbsent (line 57) | public boolean putIfAbsent(byte[] key, V value, long expireAt) method put (line 62) | public boolean put(byte[] key, V value, long expireAt) method remove (line 67) | public boolean remove(byte[] key) method clear (line 75) | public void clear() method get (line 81) | public V get(byte[] key) method containsKey (line 89) | public boolean containsKey(byte[] key) method resetStatistics (line 97) | public void resetStatistics() method size (line 103) | public long size() method hashTableSizes (line 111) | public int[] hashTableSizes() method perSegmentStats (line 116) | @Override method getBucketHistogram (line 124) | public EstimatedHistogram getBucketHistogram() method segments (line 129) | public int segments() method loadFactor (line 137) | public float loadFactor() method stats (line 145) | public OffHeapHashTableStats stats() method close (line 153) | public void close() throws IOException FILE: src/test/java/com/oath/halodb/FileUtilsTest.java class FileUtilsTest (line 26) | public class FileUtilsTest { method createDirectory (line 56) | @BeforeMethod method deleteDirectory (line 86) | @AfterMethod method testListIndexFiles (line 91) | @Test method testListDataFiles (line 99) | @Test method testListTombstoneFiles (line 107) | @Test method testDirectoryCreateAndDelete (line 116) | @Test FILE: src/test/java/com/oath/halodb/HaloDBCompactionTest.java class HaloDBCompactionTest (line 19) | public class HaloDBCompactionTest extends TestBase { method testCompaction (line 26) | @Test(dataProvider = "Options") method testReOpenDBAfterCompaction (line 46) | @Test(dataProvider = "Options") method testReOpenDBWithoutMerge (line 69) | @Test(dataProvider = "Options") method testSyncWrites (line 90) | @Test(dataProvider = "Options") method testUpdatesToSameFile (line 114) | @Test(dataProvider = "Options") method testFilesWithStaleDataAddedToCompactionQueueDuringDBOpen (line 135) | @Test(dataProvider = "Options") method testPauseAndResumeCompaction (line 201) | @Test method insertAndUpdateRecords (line 264) | private Record[] insertAndUpdateRecords(int numberOfRecords, HaloDB db... method insertAndUpdateRecordsToSameFile (line 290) | private Record[] insertAndUpdateRecordsToSameFile(int numberOfRecords,... FILE: src/test/java/com/oath/halodb/HaloDBDeletionTest.java class HaloDBDeletionTest (line 18) | public class HaloDBDeletionTest extends TestBase { method testSimpleDelete (line 20) | @Test(dataProvider = "Options") method testDeleteWithIterator (line 49) | @Test(dataProvider = "Options") method testDeleteAndInsert (line 76) | @Test(dataProvider = "Options") method testDeleteAndOpen (line 130) | @Test(dataProvider = "Options") method testDeleteAndMerge (line 163) | @Test(dataProvider = "Options") method testDeleteAllRecords (line 215) | @Test(dataProvider = "Options") FILE: src/test/java/com/oath/halodb/HaloDBFileCompactionTest.java class HaloDBFileCompactionTest (line 20) | public class HaloDBFileCompactionTest extends TestBase { method testCompaction (line 22) | @Test(dataProvider = "Options") FILE: src/test/java/com/oath/halodb/HaloDBFileTest.java class HaloDBFileTest (line 22) | public class HaloDBFileTest { method before (line 32) | @BeforeMethod method after (line 46) | @AfterMethod method testIndexFile (line 56) | @Test method testFileWithInvalidRecord (line 64) | @Test method testCorruptedHeader (line 87) | @Test method testRebuildIndexFile (line 117) | @Test method testRepairDataFileWithCorruptedValue (line 130) | @Test method testRepairDataFileWithInCompleteRecord (line 153) | @Test method testRepairDataFileContainingRecordsWithCorruptedHeader (line 176) | @Test method testRepairDataFileContainingRecordsWithValidButCorruptedHeader (line 193) | @Test method verifyIndexFile (line 215) | private void verifyIndexFile(IndexFile file, List recordList) ... method insertTestRecords (line 231) | private List insertTestRecords() throws IOException { method verifyDataFile (line 241) | private void verifyDataFile(List recordList, HaloDBFile dataFi... FILE: src/test/java/com/oath/halodb/HaloDBIteratorTest.java class HaloDBIteratorTest (line 23) | public class HaloDBIteratorTest extends TestBase { method testWithEmptyDB (line 25) | @Test(expectedExceptions = NoSuchElementException.class, dataProvider ... method testWithDelete (line 35) | @Test(dataProvider = "Options") method testPutAndGetDB (line 60) | @Test(dataProvider = "Options") method testPutUpdateAndGetDB (line 78) | @Test(dataProvider = "Options") method testPutUpdateCompactAndGetDB (line 97) | @Test(dataProvider = "Options") method testConcurrentCompactionAndIterator (line 122) | @Test(dataProvider = "Options") method testConcurrentCompactionAndIteratorWhenFileIsClosed (line 152) | @Test(dataProvider = "Options") method testConcurrentCompactionAndIteratorWithMockedException (line 197) | @Test(dataProvider = "Options") FILE: src/test/java/com/oath/halodb/HaloDBKeyIteratorTest.java class HaloDBKeyIteratorTest (line 14) | public class HaloDBKeyIteratorTest extends TestBase { method testWithEmptyDB (line 16) | @Test(expectedExceptions = NoSuchElementException.class, dataProvider ... method testWithDelete (line 26) | @Test(dataProvider = "Options") method testPutAndGetDB (line 51) | @Test(dataProvider = "Options") method testPutUpdateAndGetDB (line 74) | @Test(dataProvider = "Options") FILE: src/test/java/com/oath/halodb/HaloDBOptionsTest.java class HaloDBOptionsTest (line 8) | public class HaloDBOptionsTest extends TestBase { method testDefaultOptions (line 10) | @Test method testSetBuildIndexThreads (line 20) | @Test FILE: src/test/java/com/oath/halodb/HaloDBStatsTest.java class HaloDBStatsTest (line 15) | public class HaloDBStatsTest extends TestBase { method testOptions (line 17) | @Test(dataProvider = "Options") method testStaleMap (line 43) | @Test(dataProvider = "Options") method testCompactionStats (line 74) | @Test(dataProvider = "Options") method testIndexStats (line 174) | @Test(dataProvider = "Options") method testStatsToStringMap (line 204) | @Test(dataProvider = "Options") FILE: src/test/java/com/oath/halodb/HaloDBTest.java class HaloDBTest (line 22) | public class HaloDBTest extends TestBase { method testPutAndGetDB (line 24) | @Test(dataProvider = "Options") method testPutUpdateAndGetDB (line 50) | @Test(dataProvider = "Options") method testCreateCloseAndOpenDB (line 79) | @Test(dataProvider = "Options") method testSyncWrite (line 127) | @Test(dataProvider = "Options") method testToCheckThatLatestUpdateIsPickedAfterDBOpen (line 156) | @Test(dataProvider = "Options") method testToCheckDelete (line 192) | @Test(dataProvider = "Options") method testDeleteCloseAndOpen (line 225) | @Test(dataProvider = "Options") method testDeleteAndInsert (line 262) | @Test(dataProvider = "Options") method testDeleteInsertCloseAndOpen (line 307) | @Test(dataProvider = "Options") method testDBMetaFile (line 356) | @Test method testMaxFileSize (line 395) | @Test(expectedExceptions = IllegalArgumentException.class, expectedExc... method testLock (line 416) | @Test(expectedExceptions = HaloDBException.class, expectedExceptionsMe... method testLockReleaseOnError (line 426) | @Test method testPutAfterClose (line 460) | @Test(expectedExceptions = HaloDBException.class) method testDeleteAfterClose (line 469) | @Test(expectedExceptions = HaloDBException.class) method testPutAfterCloseWithoutWrites (line 481) | @Test(expectedExceptions = NullPointerException.class) method testDeleteAfterCloseWithoutWrites (line 489) | @Test(expectedExceptions = NullPointerException.class) method testSnapshot (line 500) | @Test method testCreateAndDeleteSnapshot (line 524) | @Test method testSnapshotAfterBeenCompacted (line 546) | @Test FILE: src/test/java/com/oath/halodb/HashTableTestUtils.java class HashTableTestUtils (line 20) | final class HashTableTestUtils method serialize (line 25) | public void serialize(String s, ByteBuffer buf) method deserialize (line 33) | public String deserialize(ByteBuffer buf) method serializedSize (line 41) | public int serializedSize(String s) method serialize (line 49) | @Override method deserialize (line 54) | @Override method serializedSize (line 62) | @Override method serialize (line 70) | public void serialize(String s, ByteBuffer buf) method deserialize (line 75) | public String deserialize(ByteBuffer buf) method serializedSize (line 83) | public int serializedSize(String s) method serialize (line 90) | public void serialize(String s, ByteBuffer buf) method deserialize (line 98) | public String deserialize(ByteBuffer buf) method serializedSize (line 103) | public int serializedSize(String s) method serialize (line 111) | public void serialize(byte[] s, ByteBuffer buf) method deserialize (line 116) | public byte[] deserialize(ByteBuffer buf) method serializedSize (line 123) | public int serializedSize(byte[] s) method writeUTFLen (line 129) | static int writeUTFLen(String str) method serialize (line 155) | public void serialize(Integer s, ByteBuffer buf) method deserialize (line 167) | public Integer deserialize(ByteBuffer buf) method serializedSize (line 182) | public int serializedSize(Integer s) method serialize (line 189) | public void serialize(Integer s, ByteBuffer buf) method deserialize (line 194) | public Integer deserialize(ByteBuffer buf) method serializedSize (line 209) | public int serializedSize(Integer s) method serialize (line 216) | public void serialize(Integer s, ByteBuffer buf) method deserialize (line 221) | public Integer deserialize(ByteBuffer buf) method serializedSize (line 226) | public int serializedSize(Integer s) method fillMany (line 257) | static List fillMany(OffHeapHashTable cache, int... method fill (line 262) | static List fill(OffHeapHashTable cache, int fix... method randomBytes (line 275) | static byte[] randomBytes(int len) class KeyValuePair (line 283) | static class KeyValuePair { method KeyValuePair (line 286) | KeyValuePair(byte[] key, byte[] value) { FILE: src/test/java/com/oath/halodb/HashTableUtilTest.java class HashTableUtilTest (line 15) | public class HashTableUtilTest method testBitNum (line 19) | @Test FILE: src/test/java/com/oath/halodb/HashTableValueSerializerTest.java class HashTableValueSerializerTest (line 19) | public class HashTableValueSerializerTest method deinit (line 21) | @AfterMethod(alwaysRun = true) method testFailingValueSerializerOnPut (line 27) | @Test FILE: src/test/java/com/oath/halodb/HasherTest.java class HasherTest (line 15) | public class HasherTest method testMurmur3 (line 17) | @Test method testCRC32 (line 23) | @Test method testXX (line 29) | @Test method test (line 35) | private void test(HashAlgorithm hash) FILE: src/test/java/com/oath/halodb/IndexFileEntryTest.java class IndexFileEntryTest (line 16) | public class IndexFileEntryTest { method serializeIndexFileEntry (line 18) | @Test method deserializeIndexFileEntry (line 47) | @Test FILE: src/test/java/com/oath/halodb/KeyBufferTest.java class KeyBufferTest (line 24) | public class KeyBufferTest method deinit (line 26) | @AfterMethod(alwaysRun = true) method hashes (line 32) | @DataProvider method testHashFinish (line 42) | @Test(dataProvider = "hashes") method hash (line 64) | private long hash(Hasher hasher) method hasher (line 76) | private Hasher hasher(HashAlgorithm hashAlgorithm) method testHashFinish16 (line 89) | @Test(dataProvider = "hashes", dependsOnMethods = "testHashFinish") method testHashRandom (line 110) | @Test(dataProvider = "hashes", dependsOnMethods = "testHashFinish16") method testSameKey (line 133) | @Test method compareKey (line 154) | private void compareKey(byte[] randomKey) { FILE: src/test/java/com/oath/halodb/LinkedImplTest.java class LinkedImplTest (line 15) | public class LinkedImplTest method deinit (line 17) | @AfterMethod(alwaysRun = true) method cache (line 23) | static OffHeapHashTable cache() method cache (line 28) | static OffHeapHashTable cache(long capacity) method cache (line 33) | static OffHeapHashTable cache(long capacity, int hashTableSize) method cache (line 38) | static OffHeapHashTable cache(long capacity, int hashTableSize... method testExtremeHashTableSize (line 53) | @Test(expectedExceptions = IllegalArgumentException.class) FILE: src/test/java/com/oath/halodb/LongArrayListTest.java class LongArrayListTest (line 16) | public class LongArrayListTest method testLongArrayList (line 18) | @Test FILE: src/test/java/com/oath/halodb/MemoryPoolChunkTest.java class MemoryPoolChunkTest (line 16) | public class MemoryPoolChunkTest { method destroyChunk (line 20) | @AfterMethod(alwaysRun = true) method testSetAndGetMethods (line 27) | @Test method testWithInvalidOffset (line 85) | @Test(expectedExceptions = IllegalArgumentException.class, expectedExc... method testWithInvalidKey (line 94) | @Test(expectedExceptions = IllegalArgumentException.class, expectedExc... method testCompare (line 103) | @Test method testCompareKeyWithException (line 128) | @Test(expectedExceptions = IllegalArgumentException.class, expectedExc... method testCompareValueWithException (line 146) | @Test(expectedExceptions = IllegalArgumentException.class, expectedExc... method setAndGetNextAddress (line 162) | @Test FILE: src/test/java/com/oath/halodb/NonMemoryPoolHashEntriesTest.java class NonMemoryPoolHashEntriesTest (line 17) | public class NonMemoryPoolHashEntriesTest method deinit (line 19) | @AfterMethod(alwaysRun = true) method testInit (line 27) | @Test method testCompareKey (line 47) | @Test method testGetSetNext (line 80) | @Test FILE: src/test/java/com/oath/halodb/OffHeapHashTableBuilderTest.java class OffHeapHashTableBuilderTest (line 17) | public class OffHeapHashTableBuilderTest method testHashTableSize (line 20) | @Test method testChunkSize (line 29) | @Test method testSegmentCount (line 37) | @Test method testLoadFactor (line 51) | @Test method testValueSerializer (line 60) | @Test method testFixedValueSize (line 87) | @Test(expectedExceptions = IllegalArgumentException.class, expectedExc... FILE: src/test/java/com/oath/halodb/RandomDataGenerator.java class RandomDataGenerator (line 10) | class RandomDataGenerator { method RandomDataGenerator (line 16) | RandomDataGenerator() { method getData (line 22) | byte[] getData(int length) { FILE: src/test/java/com/oath/halodb/RecordTest.java class RecordTest (line 14) | public class RecordTest { method testSerializeHeader (line 16) | @Test method testDeserializeHeader (line 33) | @Test method testSerializeRecord (line 60) | @Test FILE: src/test/java/com/oath/halodb/RehashTest.java class RehashTest (line 20) | public class RehashTest method deinit (line 22) | @AfterMethod(alwaysRun = true) method testRehash (line 28) | @Test FILE: src/test/java/com/oath/halodb/SegmentWithMemoryPoolTest.java class SegmentWithMemoryPoolTest (line 19) | public class SegmentWithMemoryPoolTest { method testChunkAllocations (line 21) | @Test method testFreeList (line 55) | @Test method testOutOfMemoryException (line 127) | @Test(expectedExceptions = OutOfMemoryError.class, expectedExceptionsM... method testReplace (line 149) | @Test method testRehash (line 202) | @Test method addEntriesToSegment (line 233) | private List addEntriesToSegment(SegmentWithMemoryPool... class Record (line 247) | private static class Record { method Record (line 251) | public Record(KeyBuffer keyBuffer, byte[] value) { FILE: src/test/java/com/oath/halodb/SequenceNumberTest.java class SequenceNumberTest (line 21) | public class SequenceNumberTest extends TestBase { method testSequenceNumber (line 23) | @Test(dataProvider = "Options") FILE: src/test/java/com/oath/halodb/SyncWriteTest.java class SyncWriteTest (line 14) | public class SyncWriteTest extends TestBase { method testSyncWrites (line 16) | @Test method testNonSyncWrites (line 52) | @Test method testNonSyncDeletes (line 77) | @Test FILE: src/test/java/com/oath/halodb/TestBase.java class TestBase (line 14) | public class TestBase { method optionData (line 21) | @DataProvider(name = "Options") method getTestDB (line 36) | HaloDB getTestDB(String directory, HaloDBOptions options) throws HaloD... method getTestDBWithoutDeletingFiles (line 53) | HaloDB getTestDBWithoutDeletingFiles(String directory, HaloDBOptions o... method closeDB (line 61) | @AfterMethod(alwaysRun = true) FILE: src/test/java/com/oath/halodb/TestListener.java class TestListener (line 14) | public class TestListener implements ITestListener { method onTestStart (line 17) | @Override method onTestSuccess (line 23) | @Override method onTestFailure (line 29) | @Override method onTestSkipped (line 34) | @Override method onTestFailedButWithinSuccessPercentage (line 39) | @Override method onStart (line 44) | @Override method onFinish (line 49) | @Override FILE: src/test/java/com/oath/halodb/TestUtils.java class TestUtils (line 31) | public class TestUtils { method getTestDirectory (line 34) | static String getTestDirectory(String... path) { method getTestDirectoryPath (line 38) | static Path getTestDirectoryPath(String... path) { method insertRandomRecords (line 42) | static List insertRandomRecords(HaloDB db, int noOfRecords) th... method insertRandomRecordsOfSize (line 46) | static List insertRandomRecordsOfSize(HaloDB db, int noOfRecor... method generateRandomData (line 80) | static List generateRandomData(int noOfRecords) { method updateRecords (line 100) | static List updateRecords(HaloDB db, List records) { method updateRecordsWithSize (line 116) | static List updateRecordsWithSize(HaloDB db, List reco... method deleteRecords (line 132) | static void deleteRecords(HaloDB db, List records) { method deleteDirectory (line 142) | static void deleteDirectory(File directory) throws IOException { method concatenateArrays (line 165) | static byte[] concatenateArrays(byte[] a, byte[] b) { method generateRandomAsciiString (line 175) | static String generateRandomAsciiString(int length) { method generateRandomAsciiString (line 186) | static String generateRandomAsciiString() { method generateRandomByteArray (line 198) | public static byte[] generateRandomByteArray(int length) { method generateRandomByteArray (line 205) | public static byte[] generateRandomByteArray() { method waitForCompactionToComplete (line 216) | static void waitForCompactionToComplete(HaloDB db) { method waitForTombstoneFileMergeComplete (line 227) | static void waitForTombstoneFileMergeComplete(HaloDB db) { method getLatestDataFile (line 238) | static Optional getLatestDataFile(String directory) { method getDataFiles (line 244) | static List getDataFiles(String directory) { method getLatestCompactionFile (line 250) | static Optional getLatestCompactionFile(String directory) { method getFileCreationTime (line 256) | static FileTime getFileCreationTime(File file) throws IOException { FILE: src/test/java/com/oath/halodb/TombstoneFileCleanUpTest.java class TombstoneFileCleanUpTest (line 11) | public class TombstoneFileCleanUpTest extends TestBase { method testDeleteAllRecords (line 13) | @Test(dataProvider = "Options") method testDeleteAndInsertRecords (line 63) | @Test(dataProvider = "Options") method testDeleteRecordsWithoutCompaction (line 98) | @Test(dataProvider = "Options") method testWithCleanUpTurnedOff (line 156) | @Test(dataProvider = "Options") method testCopyMultipleTombstoneFiles (line 197) | @Test(dataProvider = "Options") method testMergeTombstoneFiles (line 254) | @Test(dataProvider = "Options") method getFileId (line 332) | private int getFileId(String fileName) { FILE: src/test/java/com/oath/halodb/TombstoneFileTest.java class TombstoneFileTest (line 23) | public class TombstoneFileTest { method before (line 32) | @BeforeMethod method after (line 46) | @AfterMethod method testRepairFileWithCorruptedEntry (line 54) | @Test method testRepairFileWithCorruptedKeySize (line 76) | @Test method testRepairFileWithIncompleteEntry (line 98) | @Test method verifyData (line 121) | private void verifyData(TombstoneFile file, List recor... method insertTestRecords (line 137) | private List insertTestRecords(int number) throws IOEx... FILE: src/test/java/com/oath/halodb/UnsTest.java class UnsTest (line 23) | public class UnsTest method deinit (line 25) | @AfterMethod(alwaysRun = true) method fillRandom (line 54) | private static void fillRandom() method testDirectBufferFor (line 63) | @Test method testAllocate (line 146) | @Test method testAllocateTooMuch (line 157) | @Test(expectedExceptions = IOException.class) method testGetTotalAllocated (line 163) | @Test method testCopyMemory (line 195) | @Test method equals (line 222) | private static void equals(byte[] ref, long adr, int off, int len) method equals (line 228) | private static void equals(byte[] ref, byte[] arr, int off, int len) method testSetMemory (line 234) | @Test method testGetLongFromByteArray (line 255) | @Test method testGetPutLong (line 279) | @Test method testGetPutInt (line 302) | @Test method testGetPutShort (line 325) | @Test method testGetPutByte (line 348) | @Test method testDecrementIncrement (line 374) | @Test method testCompare (line 407) | @Test method testCompareManyKeys (line 440) | @Test FILE: src/test/java/com/oath/halodb/histo/EstimatedHistogramTest.java class EstimatedHistogramTest (line 7) | public class EstimatedHistogramTest { method testGetBuckets (line 9) | @Test method testMin (line 19) | @Test method testMax (line 30) | @Test method testPercentile (line 47) | @Test method testMean (line 60) | @Test method testIsOverflowed (line 70) | @Test method testToString (line 84) | @Test method testEquals (line 97) | @Test