Freeze Slice API Reference
|
Go to the documentation of this file.
7 [[
"cpp:header-ext:h",
"cpp:dll-export:FREEZE_API"]]
bool hasFacet(Ice::Identity id, string facet)
Like hasObject, but with a facet.
bool hasNext()
Determines if the iteration has more elements.
An iterator for the objects managed by the evictor.
Definition: Evictor.ice:71
bool hasObject(Ice::Identity id)
Returns true if the given identity is managed by the evictor with the default facet.
Object * addFacet(Object servant, Ice::Identity id, string facet)
Like add, but with a facet.
EvictorIterator getIterator(string facet, int batchSize)
Get an iterator for the identities managed by the evictor.
Freeze provides automatic persistence for Ice servants.
Definition: BackgroundSaveEvictor.ice:12
Ice::Identity next()
Obtains the next identity in the iteration.
Object * add(Object servant, Ice::Identity id)
Add a servant to this evictor.
A servant initializer provides the application with an opportunity to perform custom servant initiali...
Definition: Evictor.ice:26
An automatic Ice object persistence manager, based on the evictor pattern.
Definition: Evictor.ice:124
void initialize(Ice::ObjectAdapter adapter, Ice::Identity identity, string facet, Object servant)
Called whenever the evictor creates a new servant.
Object removeFacet(Ice::Identity id, string facet)
Like remove, but with a facet.
void setSize(int sz)
Set the size of the evictor's servant queue.
int getSize()
Get the size of the evictor's servant queue.
This exception is raised if there are no further elements in the iteration.
Definition: Evictor.ice:57
This exception is raised if the evictor has been deactivated.
Definition: Evictor.ice:106