ostore.dataobj
Class HandleStore
java.lang.Object
|
+--ostore.dataobj.HandleStore
- public class HandleStore
- extends Object
- Version:
- $Id: HandleStore.java,v 1.22 2004/03/23 08:54:16 hweather Exp $
- Author:
- Patrick R. Eaton
Field Summary |
static int |
GUID
|
static int |
VHASH
|
Method Summary |
boolean |
anyPins()
|
void |
assign(CacheablePinned handle,
Cacheable block,
DataCache cache)
|
void |
assign(CacheablePinned handle,
CacheableIdentity id,
DataCache cache)
|
void |
assign(CacheablePinned handle,
SecureHash id,
int type,
DataCache cache)
|
CacheablePinned |
getPin(CacheableIdentity ci,
DataCache cache)
|
boolean |
isTemp(CacheablePinned handle)
|
boolean |
isTemp(SecureHash id)
|
void |
mapTemp(CacheablePinned handle,
CacheableIdentity temp_ci)
|
void |
put(SecureHash id,
int type,
Cacheable block)
|
void |
recordMapping(CacheablePinned handle,
CacheableIdentity ci)
|
void |
removeFromStore(CacheablePinned handle)
|
CacheablePinned |
reserve(int bytes_required,
DataCache cache)
|
String |
toString()
Specified by java.util.Object |
CacheableHandle |
unpin(CacheablePinned handle,
DataCache cache)
|
void |
unpinAll(DataCache cache)
|
void |
unrecordMapping(CacheablePinned handle)
|
GUID
public static final int GUID
- See Also:
- Constant Field Values
VHASH
public static final int VHASH
- See Also:
- Constant Field Values
HandleStore
public HandleStore()
isTemp
public boolean isTemp(SecureHash id)
isTemp
public boolean isTemp(CacheablePinned handle)
put
public void put(SecureHash id,
int type,
Cacheable block)
mapTemp
public void mapTemp(CacheablePinned handle,
CacheableIdentity temp_ci)
getPin
public CacheablePinned getPin(CacheableIdentity ci,
DataCache cache)
throws CacheMissException
CacheMissException
removeFromStore
public void removeFromStore(CacheablePinned handle)
unpin
public CacheableHandle unpin(CacheablePinned handle,
DataCache cache)
assign
public void assign(CacheablePinned handle,
CacheableIdentity id,
DataCache cache)
assign
public void assign(CacheablePinned handle,
SecureHash id,
int type,
DataCache cache)
assign
public void assign(CacheablePinned handle,
Cacheable block,
DataCache cache)
reserve
public CacheablePinned reserve(int bytes_required,
DataCache cache)
throws CacheFullException
CacheFullException
anyPins
public boolean anyPins()
unpinAll
public void unpinAll(DataCache cache)
recordMapping
public void recordMapping(CacheablePinned handle,
CacheableIdentity ci)
unrecordMapping
public void unrecordMapping(CacheablePinned handle)
toString
public String toString()
- Specified by java.util.Object
- Overrides:
toString
in class Object