Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.cache
Class TreeCacheView.MyListener

    java.lang.Object
      org.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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