Freeze Slice API Reference
BackgroundSaveEvictor.ice
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #pragma once
6 
7 [["cpp:header-ext:h", "cpp:dll-export:FREEZE_API"]]
8 
9 #include <Freeze/Evictor.ice>
10 
11 module Freeze
12 {
13 
21 local interface BackgroundSaveEvictor extends Evictor
22 {
41  void keep(Ice::Identity id);
42 
63  void keepFacet(Ice::Identity id, string facet);
64 
81 
99  void releaseFacet(Ice::Identity id, string facet);
100 }
101 
102 }
Freeze::BackgroundSaveEvictor::keepFacet
void keepFacet(Ice::Identity id, string facet)
Like keep, but with a facet.
Freeze
Freeze provides automatic persistence for Ice servants.
Definition: BackgroundSaveEvictor.ice:12
Freeze::Evictor
An automatic Ice object persistence manager, based on the evictor pattern.
Definition: Evictor.ice:124
Freeze::BackgroundSaveEvictor::keep
void keep(Ice::Identity id)
Lock this object in the evictor cache.
Freeze::BackgroundSaveEvictor
A background-save evictor is an evictor that saves updates asynchronously in a background thread.
Definition: BackgroundSaveEvictor.ice:22
Freeze::BackgroundSaveEvictor::release
void release(Ice::Identity id)
Release a lock acquired by keep.
Evictor.ice
Ice::Identity
Freeze::BackgroundSaveEvictor::releaseFacet
void releaseFacet(Ice::Identity id, string facet)
Like release, but with a facet.