|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.cache.CacheablePinned
Method Summary | |
---|---|
CacheablePinned |
clonePin()
|
Cacheable |
data()
returns the pinned block in the cache. |
boolean |
equals(Object other)
Compares this CacheablePinned with another , and returns
true iff they are the same object. |
protected void |
finalize()
If debug has been turned on, the programmer must unpin the CacheablePinned object. |
CacheableIdentity |
getID()
returns true if the cached object has an id (CacheableIdentity) |
int |
getSize()
returns the size of the block or space taken for this CacheLine |
int |
hashCode()
Calculates a Java hash code for this CacheablePinned object.
|
boolean |
hasID()
returns true if the cached object has an id (CacheableIdentity) |
boolean |
isPinned()
Checks to see if the CacheablePinned handle is still valid. |
protected boolean |
isUnPinned()
|
int |
numPins()
Number of times object referenced by this CacheablePinned is pinned. |
String |
toString()
returns a string with the integer represented when this CacheabePinned has been created and the CacheLine associated with this handle |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public boolean hasID()
public CacheableIdentity getID()
public Cacheable data()
public int getSize()
public boolean isPinned()
public String toString()
toString
in class Object
public int numPins()
public boolean equals(Object other)
CacheablePinned
with another , and returns
true iff they are the same object. i.e. They point to the same place
in memory, the are the same reference.
equals
in class Object
other
- the object with which to compare this CacheablePinned.
public int hashCode()
CacheablePinned
object.
(Returns the Object.hashCode() [i.e. super.hashCode()] which as much
as is reasonably practical, the hashCode method defined by class
Object does return distinct integers for distinct objects. This is
typically implemented by converting the internal address of the
object into an integer, but this implementation technique is not
required by the JavaTM programming language.)
hashCode
in class Object
protected boolean isUnPinned()
public CacheablePinned clonePin() throws CacheMissException
CacheMissException
protected void finalize()
finalize
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |