|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.util.IDCacheBase
org.sandev.basics.util.NodeLocalIDCache
public class NodeLocalIDCache
A simple IDCache for use by any single node. Any node can create
a new cache instance for use.
WARNING: Having each node use their own cache can lead to memory
bloat and inefficient retrieval, depending on usage.
| Field Summary |
|---|
| Fields inherited from class org.sandev.basics.util.IDCacheBase |
|---|
callback, map, revisionCheck, timeToLiveMillis |
| Constructor Summary | |
|---|---|
NodeLocalIDCache()
|
|
| Method Summary |
|---|
| Methods inherited from class org.sandev.basics.util.IDCacheBase |
|---|
checkRevisionNumber, cleanup, clear, find, getCallback, getInstance, getMap, getSortedItems, getStats, getTimeToLiveMillis, idToKey, init, putInstance, removeInstance, setCallback, setRevisionCheck, setTimeToLiveMillis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.sandev.basics.util.IDCache |
|---|
cleanup, clear, find, getCallback, getInstance, getMap, getStats, getTimeToLiveMillis, putInstance, removeInstance, setCallback, setTimeToLiveMillis |
| Constructor Detail |
|---|
public NodeLocalIDCache()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||