org.sandev.basics.util
Class NodeLocalIDCache

java.lang.Object
  extended byorg.sandev.basics.util.IDCacheBase
      extended byorg.sandev.basics.util.NodeLocalIDCache
All Implemented Interfaces:
IDCache

public class NodeLocalIDCache
extends IDCacheBase
implements IDCache

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
map, revisionCheck
 
Constructor Summary
NodeLocalIDCache()
           
 
Methods inherited from class org.sandev.basics.util.IDCacheBase
checkRevisionNumber, clear, getInstance, getMap, idToKey, init, putInstance, removeInstance, setRevisionCheck
 
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
clear, getInstance, getMap, putInstance, removeInstance
 

Constructor Detail

NodeLocalIDCache

public NodeLocalIDCache()