com.neeve.ods
Interface IStoreCommitQueue


public interface IStoreCommitQueue

Represents a read only view into an ODS commit queue.


Nested Class Summary
static interface IStoreCommitQueue.IEntry
          Represents an entry in a commit queue
static interface IStoreCommitQueue.IPutEntry
          Represents an object put entry in a commit queue
static interface IStoreCommitQueue.IRemoveEntry
          Represents an object remove entry in a commit queue
static interface IStoreCommitQueue.ISendEntry
          Represents an object send entry in a commit queue
static interface IStoreCommitQueue.IUpdateEntry
          Represents an object update entry in a commit queue
 
Method Summary
 IStoreCommitQueue.IEntry first()
          Get the first entry in a commit queue.
 Iterator<? extends IStoreCommitQueue.IEntry> iterator()
          Get a commit queue iterator.
 IStoreCommitQueue.IEntry last()
          Get the last entry in a commit queue.
 int size()
          Return the size of a commit queue.
 

Method Detail

first

IStoreCommitQueue.IEntry first()
Get the first entry in a commit queue.

Returns:
Returns the first entry in the queue or null if queue is empty.
Threading:
This method is not safe for concurrent access by multiple threads.

iterator

Iterator<? extends IStoreCommitQueue.IEntry> iterator()
Get a commit queue iterator.

Threading:
No other operation is permitted on a commit queue while the thread that retrieves the iterator is traversing the queue.

last

IStoreCommitQueue.IEntry last()
Get the last entry in a commit queue.

Returns:
Returns the last entry in the queue or null if queue is empty.
Threading:
This method is not safe for concurrent access by multiple threads.

size

int size()
Return the size of a commit queue.

Threading:
This method is not safe for concurrent access by multiple threads.


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.