Skip navigation links
A B C D E F G I L M N O P R S T V 

A

acquirePage(long) - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Acquire a mapped page with specific index from the factory
acquirePage(long) - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
append(byte[]) - Method in class org.kariosdb.bigqueue.BigArrayImpl
Append the data into the head of the array
append(byte[]) - Method in interface org.kariosdb.bigqueue.IBigArray
Append the data into the head of the array
appendData(String) - Method in interface org.kariosdb.bigqueue.metrics.BigArrayStats
 
applyForEach(IBigQueue.ItemIterator) - Method in class org.kariosdb.bigqueue.BigQueueImpl
apply an implementation of a ItemIterator interface for each queue item
applyForEach(IBigQueue.ItemIterator) - Method in interface org.kariosdb.bigqueue.IBigQueue
apply an implementation of a ItemIterator interface for each queue item

B

BigArrayImpl - Class in org.kariosdb.bigqueue
A big array implementation supporting sequential append and random read.
BigArrayImpl(String, String) - Constructor for class org.kariosdb.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.kariosdb.bigqueue.BigArrayImpl
A big array implementation supporting sequential write and random read.
BigArrayStats - Interface in org.kariosdb.bigqueue.metrics
 
BigQueueImpl - Class in org.kariosdb.bigqueue
A big, fast and persistent queue implementation.
BigQueueImpl(String, String) - Constructor for class org.kariosdb.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.kariosdb.bigqueue.BigQueueImpl
A big, fast and persistent queue implementation.
BigQueueStats - Interface in org.kariosdb.bigqueue.metrics
 

C

Calculator - Class in org.kariosdb.bigqueue.utils
 
Calculator() - Constructor for class org.kariosdb.bigqueue.utils.Calculator
 
Clock - Interface in org.kariosdb.bigqueue.utils
 
close() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
close() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
close() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
close() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
CloseExecutorService() - Static method in class org.kariosdb.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.kariosdb.bigqueue.BigArrayImpl
 
DEFAULT_TTL - Static variable in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 
deleteAllPages() - Method in interface org.kariosdb.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.kariosdb.bigqueue.page.MappedPageFactoryImpl
thread unsafe, caller need synchronization
deleteDirectory(File) - Static method in class org.kariosdb.bigqueue.utils.FileUtil
 
deleteFile(File) - Static method in class org.kariosdb.bigqueue.utils.FileUtil
 
deletePage(long) - Method in interface org.kariosdb.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.kariosdb.bigqueue.page.MappedPageFactoryImpl
thread unsafe, caller need synchronization
deletePages(Set<Long>) - Method in interface org.kariosdb.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.kariosdb.bigqueue.page.MappedPageFactoryImpl
thread unsafe, caller need synchronization
deletePagesBefore(long) - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Delete all pages with last modified timestamp before the specific timestamp.
deletePagesBefore(long) - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
thread unsafe, caller need synchronization
deletePagesBeforePageIndex(long) - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Delete all pages before the specific index
deletePagesBeforePageIndex(long) - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
dequeue() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
dequeue(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
dequeue(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
dequeue() - Method in interface org.kariosdb.bigqueue.IBigQueue
Retrieves and removes the front of a queue
dequeue(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Retrieves and removes the front of a fan out queue
dequeue(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Retrieves and removes the front of a fan out queue
dequeueAsync() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
dequeueAsync() - Method in interface org.kariosdb.bigqueue.IBigQueue
Retrieves a Future which will complete if new Items where enqued.
div(long, int) - Static method in class org.kariosdb.bigqueue.utils.Calculator
divide by shift

E

EARLIEST - Static variable in interface org.kariosdb.bigqueue.IFanOutQueue
Constant represents earliest timestamp
enqueue(byte[]) - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
enqueue(byte[]) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
enqueue(byte[]) - Method in interface org.kariosdb.bigqueue.IBigQueue
Adds an item at the back of a queue
enqueue(byte[]) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Adds an item at the back of the queue

F

FanOutQueueImpl - Class in org.kariosdb.bigqueue
A big, fast and persistent queue implementation supporting fan out semantics.
FanOutQueueImpl(String, String, int) - Constructor for class org.kariosdb.bigqueue.FanOutQueueImpl
A big, fast and persistent queue implementation with fandout support.
FanOutQueueImpl(String, String) - Constructor for class org.kariosdb.bigqueue.FanOutQueueImpl
A big, fast and persistent queue implementation with fanout support, use default back data page size, see BigArrayImpl.DEFAULT_DATA_PAGE_SIZE
FileFactory - Interface in org.kariosdb.bigqueue.utils
 
FileSystemFileFactory - Class in org.kariosdb.bigqueue.utils
 
FileSystemFileFactory() - Constructor for class org.kariosdb.bigqueue.utils.FileSystemFileFactory
 
FileUtil - Class in org.kariosdb.bigqueue.utils
 
FileUtil() - Constructor for class org.kariosdb.bigqueue.utils.FileUtil
 
findClosestIndex(long) - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
findClosestIndex(long) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
findClosestIndex(long) - Method in interface org.kariosdb.bigqueue.IBigArray
Find an index closest to the specific timestamp when the corresponding item was appended
findClosestIndex(long) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Find an index closest to the specific timestamp when the corresponding item was enqueued.
flush() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
flush() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
flush() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
flush() - Method in interface org.kariosdb.bigqueue.IBigArray
Force to persist newly appended data, normally, you don't need to flush explicitly since: 1.) BigArray will automatically flush a cached page when it is replaced out, 2.) BigArray uses memory mapped file technology internally, and the OS will flush the changes even your process crashes, call this periodically only if you need transactional reliability and you are aware of the cost to performance.
flush() - Method in interface org.kariosdb.bigqueue.IBigQueue
Force to persist current state of the queue, normally, you don't need to flush explicitly since: 1.) BigQueue will automatically flush a cached page when it is replaced out, 2.) BigQueue uses memory mapped file technology internally, and the OS will flush the changes even your process crashes, call this periodically only if you need transactional reliability and you are aware of the cost to performance.
flush() - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Force to persist current state of the queue, normally, you don't need to flush explicitly since: 1.) FanOutQueue will automatically flush a cached page when it is replaced out, 2.) FanOutQueue uses memory mapped file technology internally, and the OS will flush the changes even your process crashes, call this periodically only if you need transactional reliability and you are aware of the cost to performance.
flush() - Method in interface org.kariosdb.bigqueue.page.IMappedPage
Persist any changes to disk
flush() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Persist any changes in cached mapped pages
flush() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
thread unsafe, caller need synchronization
flush() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
FolderNameValidator - Class in org.kariosdb.bigqueue.utils
 
FolderNameValidator() - Constructor for class org.kariosdb.bigqueue.utils.FolderNameValidator
 
forEach(byte[]) - Method in interface org.kariosdb.bigqueue.IBigQueue.ItemIterator
Method to be executed for each queue item

G

gc() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
gc() - Method in interface org.kariosdb.bigqueue.IBigQueue
Delete all used data files to free disk space.
gcCount(String) - Method in interface org.kariosdb.bigqueue.metrics.BigQueueStats
 
get(long) - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
get(K) - Method in interface org.kariosdb.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.kariosdb.bigqueue.cache.LRUCacheImpl
 
get(long) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
get(long) - Method in interface org.kariosdb.bigqueue.IBigArray
Get the data at specific index
get(long) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Retrieves data item at the specific index of the queue
getArrayDirectory() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getBackFileSize() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getBackFileSize() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getBackFileSize() - Method in interface org.kariosdb.bigqueue.IBigArray
Get total size of back files(index and data files) of the big array
getBackFileSize() - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Current total size of the back files of this queue
getBackPageFileSet() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
A set of back page file names
getBackPageFileSet() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getBackPageFileSize() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Total size of all page files
getBackPageFileSize() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getCacheSize() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
For test, get current cache size
getCacheSize() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getData(String) - Method in interface org.kariosdb.bigqueue.metrics.BigArrayStats
 
getDataPageSize() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getDataPageSize() - Method in interface org.kariosdb.bigqueue.IBigArray
Get the back data file size per page.
getExistingBackFileIndexSet() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
For test, get a list of indexes of current existing back files.
getExistingBackFileIndexSet() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getFirstPageIndexBefore(long) - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Get index of a page file with last modified timestamp closest to specific timestamp.
getFirstPageIndexBefore(long) - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getFrontIndex() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getFrontIndex(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getFrontIndex(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getFrontIndex() - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Get the queue front index, this is the earliest appended index
getFrontIndex(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Get front index of specific fanout queue
getFrontIndex(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Get front index of specific fanout queue
getHeadIndex() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getHeadIndex() - Method in interface org.kariosdb.bigqueue.IBigArray
The head of the array.
getItemLength(long) - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getItemLength(long) - Method in interface org.kariosdb.bigqueue.IBigArray
Get the data item length at specific index
getLength(long) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getLength(long) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Get length of data item at specific index of the queue
getLocal(int) - Method in interface org.kariosdb.bigqueue.page.IMappedPage
Get a thread local copy of the mapped page buffer
getLocal(int, int) - Method in interface org.kariosdb.bigqueue.page.IMappedPage
Get data from a thread local copy of the mapped page buffer
getLocal(int, int) - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
getLocal(int) - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
getPageDir() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Current set page directory.
getPageDir() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getPageFile() - Method in interface org.kariosdb.bigqueue.page.IMappedPage
The back page file name of the mapped page
getPageFile() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
getPageFileLastModifiedTime(long) - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Get last modified timestamp of page file index
getPageFileLastModifiedTime(long) - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getPageIndex() - Method in interface org.kariosdb.bigqueue.page.IMappedPage
The index of the mapped page
getPageIndex() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
getPageIndexSetBefore(long) - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Get all indexes of pages with last modified timestamp before the specific timestamp.
getPageIndexSetBefore(long) - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getPageSize() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
Current set page size, when creating pages, the factory will only create pages with this size.
getPageSize() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
getRearIndex() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getRearIndex() - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Get the queue rear index, this is the next to be appended index
getTailIndex() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getTailIndex() - Method in interface org.kariosdb.bigqueue.IBigArray
The tail of the array.
getTime() - Method in interface org.kariosdb.bigqueue.utils.Clock
 
getTime() - Method in class org.kariosdb.bigqueue.utils.SystemClockImpl
 
getTimestamp(long) - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
getTimestamp(long) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
getTimestamp(long) - Method in interface org.kariosdb.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.kariosdb.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.kariosdb.bigqueue.cache.ILRUCache
All values cached
getValues() - Method in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 

I

IBigArray - Interface in org.kariosdb.bigqueue
Append Only Big Array ADT
IBigQueue - Interface in org.kariosdb.bigqueue
Queue ADT
IBigQueue.ItemIterator - Interface in org.kariosdb.bigqueue
Item iterator interface
IFanOutQueue - Interface in org.kariosdb.bigqueue
FanOut queue ADT
ILRUCache<K,V extends Closeable> - Interface in org.kariosdb.bigqueue.cache
LRU cache ADT
IMappedPage - Interface in org.kariosdb.bigqueue.page
Memory mapped page file ADT
IMappedPageFactory - Interface in org.kariosdb.bigqueue.page
Memory mapped page management ADT
isClosed() - Method in interface org.kariosdb.bigqueue.page.IMappedPage
Check if this mapped page has been closed or not
isClosed() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
isEmpty() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
isEmpty() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
isEmpty(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
isEmpty(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
isEmpty() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
isEmpty() - Method in interface org.kariosdb.bigqueue.IBigArray
Check if the array is empty or not
isEmpty() - Method in interface org.kariosdb.bigqueue.IBigQueue
Determines whether a queue is empty
isEmpty(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Determines whether a fan out queue is empty
isEmpty(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Determines whether a fan out queue is empty
isEmpty() - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Determines whether the queue is empty
isFilenameValid(String) - Static method in class org.kariosdb.bigqueue.utils.FileUtil
Only check if a given filename is valid according to the OS rules.
isFull() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
isFull() - Method in interface org.kariosdb.bigqueue.IBigArray
Check if the ring space of java long type has all been used up.
isNew() - Method in interface org.kariosdb.bigqueue.page.IMappedPage
Is the mapped page new or was it read from disk
isNew() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 

L

lastModified(File) - Method in interface org.kariosdb.bigqueue.utils.FileFactory
 
lastModified(File) - Method in class org.kariosdb.bigqueue.utils.FileSystemFileFactory
 
LATEST - Static variable in interface org.kariosdb.bigqueue.IFanOutQueue
Constant represents latest timestamp
limitBackFileSize(long) - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
limitBackFileSize(long) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
limitBackFileSize(long) - Method in interface org.kariosdb.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.kariosdb.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.kariosdb.bigqueue.cache
Simple and thread-safe LRU cache implementation, supporting time to live and reference counting for entry.
LRUCacheImpl(Clock) - Constructor for class org.kariosdb.bigqueue.cache.LRUCacheImpl
 

M

MappedPageFactoryImpl - Class in org.kariosdb.bigqueue.page
Mapped mapped page resource manager, responsible for the creation, cache, recycle of the mapped pages.
MappedPageFactoryImpl(int, String, long, Clock, FileFactory) - Constructor for class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
MappedPageFactoryImpl(int, String, long) - Constructor for class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
MappedPageImpl - Class in org.kariosdb.bigqueue.page
 
MappedPageImpl(MappedByteBuffer, String, long) - Constructor for class org.kariosdb.bigqueue.page.MappedPageImpl
 
MINIMUM_DATA_PAGE_SIZE - Static variable in class org.kariosdb.bigqueue.BigArrayImpl
 
mod(long, int) - Static method in class org.kariosdb.bigqueue.utils.Calculator
mod by shift
mul(long, int) - Static method in class org.kariosdb.bigqueue.utils.Calculator
multiply by shift

N

newFile(String) - Method in interface org.kariosdb.bigqueue.utils.FileFactory
 
newFile(String) - Method in class org.kariosdb.bigqueue.utils.FileSystemFileFactory
 
NOT_FOUND - Static variable in interface org.kariosdb.bigqueue.IBigArray
 

O

org.kariosdb.bigqueue - package org.kariosdb.bigqueue
 
org.kariosdb.bigqueue.cache - package org.kariosdb.bigqueue.cache
 
org.kariosdb.bigqueue.metrics - package org.kariosdb.bigqueue.metrics
 
org.kariosdb.bigqueue.page - package org.kariosdb.bigqueue.page
 
org.kariosdb.bigqueue.utils - package org.kariosdb.bigqueue.utils
 

P

PAGE_FILE_NAME - Static variable in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
PAGE_FILE_SUFFIX - Static variable in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
peek() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
peek(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
peek(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
peek() - Method in interface org.kariosdb.bigqueue.IBigQueue
Retrieves the item at the front of a queue
peek(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Peek the item at the front of a fanout queue, without removing it from the queue
peek(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Peek the item at the front of a fanout queue, without removing it from the queue
peekAsync() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
peekAsync() - Method in interface org.kariosdb.bigqueue.IBigQueue
Retrieves the item at the front of a queue asynchronously.
peekLength(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
peekLength(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
peekLength(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Peek the length of the item at the front of a fan out queue
peekLength(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Peek the length of the item at the front of a fan out queue
peekTimestamp(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
peekTimestamp(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
peekTimestamp(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Peek the timestamp of the item at the front of a fan out queue
peekTimestamp(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Peek the timestamp of the item at the front of a fan out queue
put(K, V, long) - Method in interface org.kariosdb.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) - Method in interface org.kariosdb.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, long) - Method in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 
put(K, V) - Method in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 

R

release(K) - Method in interface org.kariosdb.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.kariosdb.bigqueue.cache.LRUCacheImpl
 
releaseCachedPages() - Method in interface org.kariosdb.bigqueue.page.IMappedPageFactory
remove all cached pages from the cache and close resources associated with the cached pages.
releaseCachedPages() - Method in class org.kariosdb.bigqueue.page.MappedPageFactoryImpl
thread unsafe, caller need synchronization
releasePage(long) - Method in interface org.kariosdb.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.kariosdb.bigqueue.page.MappedPageFactoryImpl
 
remove(K) - Method in interface org.kariosdb.bigqueue.cache.ILRUCache
Remove the resource with specific key from the cache and close it synchronously afterwards.
remove(K) - Method in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 
removeAll() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
removeAll() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
removeAll() - Method in interface org.kariosdb.bigqueue.cache.ILRUCache
Remove all cached resource from the cache and close them asynchronously afterwards.
removeAll() - Method in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 
removeAll() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
removeAll() - Method in interface org.kariosdb.bigqueue.IBigArray
Remove all data in this array, this will empty the array and delete all back page files.
removeAll() - Method in interface org.kariosdb.bigqueue.IBigQueue
Removes all items of a queue, this will empty the queue and delete all back data files.
removeAll() - Method in interface org.kariosdb.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.kariosdb.bigqueue.BigArrayImpl
 
removeBefore(long) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
removeBefore(long) - Method in interface org.kariosdb.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.kariosdb.bigqueue.IFanOutQueue
Remove all data before specific timestamp, truncate back files and advance the queue front if necessary.
removeBeforeIndex(long) - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
removeBeforeIndex(long) - Method in interface org.kariosdb.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.kariosdb.bigqueue.FanOutQueueImpl
 
resetQueueFrontIndex(String, long) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Reset the front index of a fanout queue.

S

setClock(Clock) - Method in class org.kariosdb.bigqueue.BigArrayImpl
Used for changing the clock for unit tests
setDirty(boolean) - Method in interface org.kariosdb.bigqueue.page.IMappedPage
Set if the mapped page has been changed or not
setDirty(boolean) - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
setNew(boolean) - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 
size() - Method in class org.kariosdb.bigqueue.BigArrayImpl
 
size() - Method in class org.kariosdb.bigqueue.BigQueueImpl
 
size() - Method in interface org.kariosdb.bigqueue.cache.ILRUCache
The size of the cache, equals to current total number of cached resources.
size() - Method in class org.kariosdb.bigqueue.cache.LRUCacheImpl
 
size(String) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
size(String, boolean) - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
size() - Method in class org.kariosdb.bigqueue.FanOutQueueImpl
 
size() - Method in interface org.kariosdb.bigqueue.IBigArray
The total number of items has been appended into the array
size() - Method in interface org.kariosdb.bigqueue.IBigQueue
Total number of items available in the queue.
size(String) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Total number of items remaining in the fan out queue
size(String, boolean) - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Total number of items remaining in the fan out queue
size() - Method in interface org.kariosdb.bigqueue.IFanOutQueue
Total number of items remaining in the queue.
SystemClockImpl - Class in org.kariosdb.bigqueue.utils
 
SystemClockImpl() - Constructor for class org.kariosdb.bigqueue.utils.SystemClockImpl
 

T

toString() - Method in class org.kariosdb.bigqueue.page.MappedPageImpl
 

V

validate(String) - Static method in class org.kariosdb.bigqueue.utils.FolderNameValidator
 
A B C D E F G I L M N O P R S T V 
Skip navigation links

Copyright © 2020. All rights reserved.