com.pcbsys.nirvana.base.clientimpl.multiconnection.StoreGroup Class Reference

HS wrapper representation of a store including all relevant resources for it. More...

Public Member Functions

void allocateEvent (nConsumeEvent evt, int connectionLocation, boolean storeEventMapping)
 Allocate an event from a hidden store to the HS layer store to the public HS representation of it. More...
 
void allocateEvent (nPublished evt, int hiddenStoreLocation, long durableIdentifier, boolean storeEventMapping)
 Allocate an event from a hidden store to the HS layer store to the public HS representation of it. More...
 
List< Long > getAndCleanEidsByConnection (int connectionLocation)
 Retrieves all public eids for a connectionLocation and removes their eventGroupings. More...
 
EventGrouping getAndReleaseEvent (long eventIdentifier)
 Releases a specific received event from the HS layer.
 
EventGrouping[] getAndReleaseEventEqualAndLesser (long eventIdentifier)
 Releases all events equal or less to specified ID.
 

Detailed Description

HS wrapper representation of a store including all relevant resources for it.

Member Function Documentation

void com.pcbsys.nirvana.base.clientimpl.multiconnection.StoreGroup.allocateEvent ( nConsumeEvent  evt,
int  connectionLocation,
boolean  storeEventMapping 
)

Allocate an event from a hidden store to the HS layer store to the public HS representation of it.

Creates an EventGrouping if needed and assigns a new event ID to it.

void com.pcbsys.nirvana.base.clientimpl.multiconnection.StoreGroup.allocateEvent ( nPublished  evt,
int  hiddenStoreLocation,
long  durableIdentifier,
boolean  storeEventMapping 
)

Allocate an event from a hidden store to the HS layer store to the public HS representation of it.

Creates an EventGrouping if needed and assigns a new event ID to it.

List<Long> com.pcbsys.nirvana.base.clientimpl.multiconnection.StoreGroup.getAndCleanEidsByConnection ( int  connectionLocation)

Retrieves all public eids for a connectionLocation and removes their eventGroupings.

Parameters
connectionLocation- connection index
Returns
List of removed EIDs in the StoreGroup