V - the type of the Object that holds the Versionpublic class VersionTable<V> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ReferenceQueue<Object> |
_freeEntryQueue |
| Constructor and Description |
|---|
VersionTable()
Creates a new Table and start a cleaner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the the table
|
protected void |
finalize() |
protected V |
getEntryVersion(EntryInfoKey infoKey)
return null; get entry version from table according to the value.
|
protected void |
setEntryVersion(EntryInfoKey infoKey,
V version)
add EntryInfo to table.
|
protected final ReferenceQueue<Object> _freeEntryQueue
public void clear()
protected void setEntryVersion(EntryInfoKey infoKey, V version)
infoKey - the entry keyversion - holds the entries versionprotected V getEntryVersion(EntryInfoKey infoKey)
Copyright © GigaSpaces.