A B C D E F G I L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acquirePage(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Acquire a mapped page with specific index from the factory
- acquirePage(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- append(byte[]) - Method in class org.kairosdb.bigqueue.BigArrayImpl
-
Append the data into the head of the array
- append(byte[]) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Append the data into the head of the array
- appendData(String) - Method in interface org.kairosdb.bigqueue.metrics.BigArrayStats
- applyForEach(IBigQueue.ItemIterator) - Method in class org.kairosdb.bigqueue.BigQueueImpl
-
apply an implementation of a ItemIterator interface for each queue item
- applyForEach(IBigQueue.ItemIterator) - Method in interface org.kairosdb.bigqueue.IBigQueue
-
apply an implementation of a ItemIterator interface for each queue item
B
- BigArrayImpl - Class in org.kairosdb.bigqueue
-
A big array implementation supporting sequential append and random read.
- BigArrayImpl(String, String) - Constructor for class org.kairosdb.bigqueue.BigArrayImpl
-
A big array implementation supporting sequential write and random read, use default back data file size per page, see
BigArrayImpl.DEFAULT_DATA_PAGE_SIZE. - BigArrayImpl(String, String, int) - Constructor for class org.kairosdb.bigqueue.BigArrayImpl
-
A big array implementation supporting sequential write and random read.
- BigArrayStats - Interface in org.kairosdb.bigqueue.metrics
- BigQueueImpl - Class in org.kairosdb.bigqueue
-
A big, fast and persistent queue implementation.
- BigQueueImpl(String, String) - Constructor for class org.kairosdb.bigqueue.BigQueueImpl
-
A big, fast and persistent queue implementation, use default back data page size, see
BigArrayImpl.DEFAULT_DATA_PAGE_SIZE - BigQueueImpl(String, String, int) - Constructor for class org.kairosdb.bigqueue.BigQueueImpl
-
A big, fast and persistent queue implementation.
- BigQueueStats - Interface in org.kairosdb.bigqueue.metrics
C
- Calculator - Class in org.kairosdb.bigqueue.utils
- Calculator() - Constructor for class org.kairosdb.bigqueue.utils.Calculator
- Clock - Interface in org.kairosdb.bigqueue.utils
- close() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- close() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- close() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- close() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- CloseExecutorService() - Static method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
-
Shutdown the internal ExecutorService, Call this only after you have closed your bigqueue instance.
D
- DEFAULT_DATA_PAGE_SIZE - Static variable in class org.kairosdb.bigqueue.BigArrayImpl
- DEFAULT_TTL - Static variable in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- deleteAllPages() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
delete all mapped pages currently available in this factory, this call will remove all pages from the cache and delete all back files.
- deleteAllPages() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
-
thread unsafe, caller need synchronization
- deleteDirectory(File) - Static method in class org.kairosdb.bigqueue.utils.FileUtil
- deleteFile(File) - Static method in class org.kairosdb.bigqueue.utils.FileUtil
- deletePage(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
delete a mapped page with specific index in this factory, this call will remove the page from the cache if it is cached and delete back file.
- deletePage(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
-
thread unsafe, caller need synchronization
- deletePages(Set<Long>) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
delete mapped pages with a set of specific indexes in this factory, this call will remove the pages from the cache if they ware cached and delete back files.
- deletePages(Set<Long>) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
-
thread unsafe, caller need synchronization
- deletePagesBefore(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Delete all pages with last modified timestamp before the specific timestamp.
- deletePagesBefore(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
-
thread unsafe, caller need synchronization
- deletePagesBeforePageIndex(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Delete all pages before the specific index
- deletePagesBeforePageIndex(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- dequeue() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- dequeue() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Retrieves and removes the front of a queue
- dequeue(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- dequeue(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Retrieves and removes the front of a fan out queue
- dequeue(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- dequeue(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Retrieves and removes the front of a fan out queue
- dequeueAsync() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- dequeueAsync() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Retrieves a Future which will complete if new Items where enqued.
- div(long, int) - Static method in class org.kairosdb.bigqueue.utils.Calculator
-
divide by shift
E
- EARLIEST - Static variable in interface org.kairosdb.bigqueue.IFanOutQueue
-
Constant represents earliest timestamp
- enqueue(byte[]) - Method in class org.kairosdb.bigqueue.BigQueueImpl
- enqueue(byte[]) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- enqueue(byte[]) - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Adds an item at the back of a queue
- enqueue(byte[]) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Adds an item at the back of the queue
F
- FanOutQueueImpl - Class in org.kairosdb.bigqueue
-
A big, fast and persistent queue implementation supporting fan out semantics.
- FanOutQueueImpl(String, String) - Constructor for class org.kairosdb.bigqueue.FanOutQueueImpl
-
A big, fast and persistent queue implementation with fanout support, use default back data page size, see
BigArrayImpl.DEFAULT_DATA_PAGE_SIZE - FanOutQueueImpl(String, String, int) - Constructor for class org.kairosdb.bigqueue.FanOutQueueImpl
-
A big, fast and persistent queue implementation with fandout support.
- FileFactory - Interface in org.kairosdb.bigqueue.utils
- FileSystemFileFactory - Class in org.kairosdb.bigqueue.utils
- FileSystemFileFactory() - Constructor for class org.kairosdb.bigqueue.utils.FileSystemFileFactory
- FileUtil - Class in org.kairosdb.bigqueue.utils
- FileUtil() - Constructor for class org.kairosdb.bigqueue.utils.FileUtil
- findClosestIndex(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- findClosestIndex(long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- findClosestIndex(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Find an index closest to the specific timestamp when the corresponding item was appended
- findClosestIndex(long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Find an index closest to the specific timestamp when the corresponding item was enqueued.
- flush() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- flush() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- flush() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- flush() - Method in interface org.kairosdb.bigqueue.IBigArray
-
Force to persist newly appended data, normally, you don't need to flush explicitly since: 1.)
- flush() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Force to persist current state of the queue, normally, you don't need to flush explicitly since: 1.)
- flush() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Force to persist current state of the queue, normally, you don't need to flush explicitly since: 1.)
- flush() - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
Persist any changes to disk
- flush() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Persist any changes in cached mapped pages
- flush() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
-
thread unsafe, caller need synchronization
- flush() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- FolderNameValidator - Class in org.kairosdb.bigqueue.utils
- FolderNameValidator() - Constructor for class org.kairosdb.bigqueue.utils.FolderNameValidator
- forEach(byte[]) - Method in interface org.kairosdb.bigqueue.IBigQueue.ItemIterator
-
Method to be executed for each queue item
G
- gc() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- gc() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Delete all used data files to free disk space.
- gcCount(String) - Method in interface org.kairosdb.bigqueue.metrics.BigQueueStats
- get(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- get(long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- get(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Get the data at specific index
- get(long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Retrieves data item at the specific index of the queue
- get(K) - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
Get a cached resource with specific key This call will increment the reference counter of the keyed resource.
- get(K) - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- getArrayDirectory() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getBackFileSize() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getBackFileSize() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getBackFileSize() - Method in interface org.kairosdb.bigqueue.IBigArray
-
Get total size of back files(index and data files) of the big array
- getBackFileSize() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Current total size of the back files of this queue
- getBackPageFileSet() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
A set of back page file names
- getBackPageFileSet() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getBackPageFileSize() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Total size of all page files
- getBackPageFileSize() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getCacheSize() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
For test, get current cache size
- getCacheSize() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getData(String) - Method in interface org.kairosdb.bigqueue.metrics.BigArrayStats
- getDataPageSize() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getDataPageSize() - Method in interface org.kairosdb.bigqueue.IBigArray
-
Get the back data file size per page.
- getExistingBackFileIndexSet() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
For test, get a list of indexes of current existing back files.
- getExistingBackFileIndexSet() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getFirstPageIndexBefore(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Get index of a page file with last modified timestamp closest to specific timestamp.
- getFirstPageIndexBefore(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getFrontIndex() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getFrontIndex() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Get the queue front index, this is the earliest appended index
- getFrontIndex(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getFrontIndex(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Get front index of specific fanout queue
- getFrontIndex(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getFrontIndex(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Get front index of specific fanout queue
- getHeadIndex() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getHeadIndex() - Method in interface org.kairosdb.bigqueue.IBigArray
-
The head of the array.
- getItemLength(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getItemLength(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Get the data item length at specific index
- getLength(long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getLength(long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Get length of data item at specific index of the queue
- getLocal(int) - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
Get a thread local copy of the mapped page buffer
- getLocal(int) - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- getLocal(int, int) - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
Get data from a thread local copy of the mapped page buffer
- getLocal(int, int) - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- getPageDir() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Current set page directory.
- getPageDir() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getPageFile() - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
The back page file name of the mapped page
- getPageFile() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- getPageFileLastModifiedTime(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Get last modified timestamp of page file index
- getPageFileLastModifiedTime(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getPageIndex() - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
The index of the mapped page
- getPageIndex() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- getPageIndexSetBefore(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Get all indexes of pages with last modified timestamp before the specific timestamp.
- getPageIndexSetBefore(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getPageSize() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Current set page size, when creating pages, the factory will only create pages with this size.
- getPageSize() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- getRearIndex() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getRearIndex() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Get the queue rear index, this is the next to be appended index
- getTailIndex() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getTailIndex() - Method in interface org.kairosdb.bigqueue.IBigArray
-
The tail of the array.
- getTime() - Method in interface org.kairosdb.bigqueue.utils.Clock
- getTime() - Method in class org.kairosdb.bigqueue.utils.SystemClockImpl
- getTimestamp(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- getTimestamp(long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- getTimestamp(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Get the timestamp of data at specific index, this is the timestamp when the data was appended.
- getTimestamp(long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Get timestamp of data item at specific index of the queue, this is the timestamp when corresponding item was appended into the queue.
- getValues() - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
All values cached
- getValues() - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
I
- IBigArray - Interface in org.kairosdb.bigqueue
-
Append Only Big Array ADT
- IBigQueue - Interface in org.kairosdb.bigqueue
-
Queue ADT
- IBigQueue.ItemIterator - Interface in org.kairosdb.bigqueue
-
Item iterator interface
- IFanOutQueue - Interface in org.kairosdb.bigqueue
-
FanOut queue ADT
- ILRUCache<K,V extends Closeable> - Interface in org.kairosdb.bigqueue.cache
-
LRU cache ADT
- IMappedPage - Interface in org.kairosdb.bigqueue.page
-
Memory mapped page file ADT
- IMappedPageFactory - Interface in org.kairosdb.bigqueue.page
-
Memory mapped page management ADT
- isClosed() - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
Check if this mapped page has been closed or not
- isClosed() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- isEmpty() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- isEmpty() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- isEmpty() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- isEmpty() - Method in interface org.kairosdb.bigqueue.IBigArray
-
Check if the array is empty or not
- isEmpty() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Determines whether a queue is empty
- isEmpty() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Determines whether the queue is empty
- isEmpty(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- isEmpty(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Determines whether a fan out queue is empty
- isEmpty(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- isEmpty(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Determines whether a fan out queue is empty
- isFilenameValid(String) - Static method in class org.kairosdb.bigqueue.utils.FileUtil
-
Only check if a given filename is valid according to the OS rules.
- isFull() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- isFull() - Method in interface org.kairosdb.bigqueue.IBigArray
-
Check if the ring space of java long type has all been used up.
- isNew() - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
Is the mapped page new or was it read from disk
- isNew() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
L
- lastModified(File) - Method in interface org.kairosdb.bigqueue.utils.FileFactory
- lastModified(File) - Method in class org.kairosdb.bigqueue.utils.FileSystemFileFactory
- LATEST - Static variable in interface org.kairosdb.bigqueue.IFanOutQueue
-
Constant represents latest timestamp
- limitBackFileSize(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- limitBackFileSize(long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- limitBackFileSize(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
limit the back file size, truncate back file and advance array tail index accordingly, Note, this is a best effort call, exact size limit can't be guaranteed
- limitBackFileSize(long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Limit the back file size of this queue, truncate back files and advance the queue front if necessary.
- LRUCacheImpl<K,V extends Closeable> - Class in org.kairosdb.bigqueue.cache
-
Simple and thread-safe LRU cache implementation, supporting time to live and reference counting for entry.
- LRUCacheImpl(Clock) - Constructor for class org.kairosdb.bigqueue.cache.LRUCacheImpl
M
- MappedPageFactoryImpl - Class in org.kairosdb.bigqueue.page
-
Mapped mapped page resource manager, responsible for the creation, cache, recycle of the mapped pages.
- MappedPageFactoryImpl(int, String, long) - Constructor for class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- MappedPageFactoryImpl(int, String, long, Clock, FileFactory) - Constructor for class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- MappedPageImpl - Class in org.kairosdb.bigqueue.page
- MappedPageImpl(MappedByteBuffer, String, long) - Constructor for class org.kairosdb.bigqueue.page.MappedPageImpl
- MINIMUM_DATA_PAGE_SIZE - Static variable in class org.kairosdb.bigqueue.BigArrayImpl
- mod(long, int) - Static method in class org.kairosdb.bigqueue.utils.Calculator
-
mod by shift
- mul(long, int) - Static method in class org.kairosdb.bigqueue.utils.Calculator
-
multiply by shift
N
- newFile(String) - Method in interface org.kairosdb.bigqueue.utils.FileFactory
- newFile(String) - Method in class org.kairosdb.bigqueue.utils.FileSystemFileFactory
- NOT_FOUND - Static variable in interface org.kairosdb.bigqueue.IBigArray
O
- org.kairosdb.bigqueue - package org.kairosdb.bigqueue
- org.kairosdb.bigqueue.cache - package org.kairosdb.bigqueue.cache
- org.kairosdb.bigqueue.metrics - package org.kairosdb.bigqueue.metrics
- org.kairosdb.bigqueue.page - package org.kairosdb.bigqueue.page
- org.kairosdb.bigqueue.utils - package org.kairosdb.bigqueue.utils
P
- PAGE_FILE_NAME - Static variable in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- PAGE_FILE_SUFFIX - Static variable in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- peek() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- peek() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Retrieves the item at the front of a queue
- peek(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- peek(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Peek the item at the front of a fanout queue, without removing it from the queue
- peek(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- peek(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Peek the item at the front of a fanout queue, without removing it from the queue
- peekAsync() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- peekAsync() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Retrieves the item at the front of a queue asynchronously.
- peekLength(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- peekLength(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Peek the length of the item at the front of a fan out queue
- peekLength(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- peekLength(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Peek the length of the item at the front of a fan out queue
- peekTimestamp(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- peekTimestamp(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Peek the timestamp of the item at the front of a fan out queue
- peekTimestamp(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- peekTimestamp(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Peek the timestamp of the item at the front of a fan out queue
- put(K, V) - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
Put a keyed resource with default ttl into the cache This call will increment the reference counter of the keyed resource.
- put(K, V) - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- put(K, V, long) - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
Put a keyed resource with specific ttl into the cache This call will increment the reference counter of the keyed resource.
- put(K, V, long) - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
R
- release(K) - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
Release the cached resource with specific key This call will decrement the reference counter of the keyed resource.
- release(K) - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- releaseCachedPages() - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
remove all cached pages from the cache and close resources associated with the cached pages.
- releaseCachedPages() - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
-
thread unsafe, caller need synchronization
- releasePage(long) - Method in interface org.kairosdb.bigqueue.page.IMappedPageFactory
-
Return the mapped page to the factory, calling thread release the page to inform the factory that it has finished with the page, so the factory get a chance to recycle the page to save memory.
- releasePage(long) - Method in class org.kairosdb.bigqueue.page.MappedPageFactoryImpl
- remove(K) - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
Remove the resource with specific key from the cache and close it synchronously afterwards.
- remove(K) - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- removeAll() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- removeAll() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- removeAll() - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
Remove all cached resource from the cache and close them asynchronously afterwards.
- removeAll() - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- removeAll() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- removeAll() - Method in interface org.kairosdb.bigqueue.IBigArray
-
Remove all data in this array, this will empty the array and delete all back page files.
- removeAll() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Removes all items of a queue, this will empty the queue and delete all back data files.
- removeAll() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Removes all items of a queue, this will empty the queue and delete all back data files.
- removeBefore(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- removeBefore(long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- removeBefore(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Remove all data before specific timestamp, this will advance the array tail and delete back page files accordingly.
- removeBefore(long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Remove all data before specific timestamp, truncate back files and advance the queue front if necessary.
- removeBeforeIndex(long) - Method in class org.kairosdb.bigqueue.BigArrayImpl
- removeBeforeIndex(long) - Method in interface org.kairosdb.bigqueue.IBigArray
-
Remove all data before specific index, this will advance the array tail to index and delete back page files before index.
- resetQueueFrontIndex(String, long) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- resetQueueFrontIndex(String, long) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Reset the front index of a fanout queue.
S
- setClock(Clock) - Method in class org.kairosdb.bigqueue.BigArrayImpl
-
Used for changing the clock for unit tests
- setDirty(boolean) - Method in interface org.kairosdb.bigqueue.page.IMappedPage
-
Set if the mapped page has been changed or not
- setDirty(boolean) - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- setNew(boolean) - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
- size() - Method in class org.kairosdb.bigqueue.BigArrayImpl
- size() - Method in class org.kairosdb.bigqueue.BigQueueImpl
- size() - Method in interface org.kairosdb.bigqueue.cache.ILRUCache
-
The size of the cache, equals to current total number of cached resources.
- size() - Method in class org.kairosdb.bigqueue.cache.LRUCacheImpl
- size() - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- size() - Method in interface org.kairosdb.bigqueue.IBigArray
-
The total number of items has been appended into the array
- size() - Method in interface org.kairosdb.bigqueue.IBigQueue
-
Total number of items available in the queue.
- size() - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Total number of items remaining in the queue.
- size(String) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- size(String) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Total number of items remaining in the fan out queue
- size(String, boolean) - Method in class org.kairosdb.bigqueue.FanOutQueueImpl
- size(String, boolean) - Method in interface org.kairosdb.bigqueue.IFanOutQueue
-
Total number of items remaining in the fan out queue
- SystemClockImpl - Class in org.kairosdb.bigqueue.utils
- SystemClockImpl() - Constructor for class org.kairosdb.bigqueue.utils.SystemClockImpl
T
- toString() - Method in class org.kairosdb.bigqueue.page.MappedPageImpl
V
- validate(String) - Static method in class org.kairosdb.bigqueue.utils.FolderNameValidator
All Classes All Packages