org.apache.jcs.engine
Class CacheInfo

java.lang.Object
  extended by org.apache.jcs.engine.CacheInfo

public final class CacheInfo
extends java.lang.Object

This is a static variable holder for the distribution auxiliaries that need something like a vmid.


Field Summary
static long listenerId
          By default this is the hashcode of the VMID
protected static java.rmi.dgc.VMID vmid
          Used to identify a client, so we can run multiple clients off one host.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vmid

protected static java.rmi.dgc.VMID vmid
Used to identify a client, so we can run multiple clients off one host. Need since there is no way to identify a client other than by host in rmi.

TODO: may have some trouble in failover mode if the cache keeps its old id. We may need to reset this when moving into failover.


listenerId

public static long listenerId
By default this is the hashcode of the VMID



Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.