stomp.jdo.distributed
Class JDOCache

java.lang.Object
  |
  +--stomp.jdo.distributed.JDOCache

public class JDOCache
extends java.lang.Object

Enables distributing a JDOCache amongst multiple client machines.

Author:
Eric Lindauer

Constructor Summary
protected JDOCache()
           
 
Method Summary
 void addClientCache(CacheListener listener)
           
static JDOCache getInstance()
          Retrieves a JDOCache instance to be used in the current thread (only!)
 void idsDeleted(java.util.Collection ids, CacheListener originator)
           
 void refreshAll(java.util.Collection objectIds, CacheListener originator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOCache

protected JDOCache()
Method Detail

getInstance

public static JDOCache getInstance()
Retrieves a JDOCache instance to be used in the current thread (only!)

addClientCache

public void addClientCache(CacheListener listener)

idsDeleted

public void idsDeleted(java.util.Collection ids,
                       CacheListener originator)

refreshAll

public void refreshAll(java.util.Collection objectIds,
                       CacheListener originator)