站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 Cache API Documentation 英文版文档

TreeCacheView.MyListener (JBoss Cache API) - JBoss 3.2.7 Cache API Documentation 英文版文档


org.jboss.cache
Class TreeCacheView.MyListener

java.lang.Object
  extended byorg.jboss.cache.TreeCacheView.MyListener
All Implemented Interfaces:
TreeCacheListener
Enclosing class:
TreeCacheView

public static class TreeCacheView.MyListener
extends Object
implements TreeCacheListener


Constructor Summary
TreeCacheView.MyListener()
           
 
Method Summary
 void cacheStarted(TreeCache cache)
          Called when the cache is started.
 void cacheStopped(TreeCache cache)
          Called when the cache is stopped.
 void nodeCreated(Fqn fqn)
          Called when a node is created
 void nodeEvicted(Fqn fqn)
          Called when a node is evicted (not the same as remove()).
 void nodeLoaded(Fqn fqn)
          Called when a node is loaded into memory via the CacheLoader.
 void nodeModified(Fqn fqn)
          Called when a node is modified, e.g., one (key, value) pair in the internal map storage has been modified.
 void nodeRemoved(Fqn fqn)
          Called when a node is removed.
 void nodeVisited(Fqn fqn)
          Called when a node is visisted, i.e., get().
 void viewChange(org.jgroups.View new_view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeCacheView.MyListener

public TreeCacheView.MyListener()
Method Detail

nodeCreated

public void nodeCreated(Fqn fqn)
Description copied from interface: TreeCacheListener
Called when a node is created

Specified by:
nodeCreated in interface TreeCacheListener
Parameters:
fqn -

nodeRemoved

public void nodeRemoved(Fqn fqn)
Description copied from interface: TreeCacheListener
Called when a node is removed.

Specified by:
nodeRemoved in interface TreeCacheListener
Parameters:
fqn -

nodeModified

public void nodeModified(Fqn fqn)
Description copied from interface: TreeCacheListener
Called when a node is modified, e.g., one (key, value) pair in the internal map storage has been modified.

Specified by:
nodeModified in interface TreeCacheListener
Parameters:
fqn -

nodeLoaded

public void nodeLoaded(Fqn fqn)
Description copied from interface: TreeCacheListener
Called when a node is loaded into memory via the CacheLoader. This is not the same as TreeCacheListener.nodeCreated(Fqn).

Specified by:
nodeLoaded in interface TreeCacheListener

nodeEvicted

public void nodeEvicted(Fqn fqn)
Description copied from interface: TreeCacheListener
Called when a node is evicted (not the same as remove()).

Specified by:
nodeEvicted in interface TreeCacheListener
Parameters:
fqn -

nodeVisited

public void nodeVisited(Fqn fqn)
Description copied from interface: TreeCacheListener
Called when a node is visisted, i.e., get().

Specified by:
nodeVisited in interface TreeCacheListener
Parameters:
fqn -

cacheStarted

public void cacheStarted(TreeCache cache)
Description copied from interface: TreeCacheListener
Called when the cache is started.

Specified by:
cacheStarted in interface TreeCacheListener
Parameters:
cache -

cacheStopped

public void cacheStopped(TreeCache cache)
Description copied from interface: TreeCacheListener
Called when the cache is stopped.

Specified by:
cacheStopped in interface TreeCacheListener
Parameters:
cache -

viewChange

public void viewChange(org.jgroups.View new_view)
Specified by:
viewChange in interface TreeCacheListener


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.