net.sf.swarmcache
Class CacheNotification

java.lang.Object
  |
  +--net.sf.swarmcache.CacheNotification
All Implemented Interfaces:
java.io.Serializable

public class CacheNotification
extends java.lang.Object
implements java.io.Serializable

The actual object that gets sent to the cluster to indicate that an object needs to be cleared from the cache.

Author:
John Watkinson
See Also:
Serialized Form

Constructor Summary
CacheNotification()
           
CacheNotification(java.lang.String type, java.io.Serializable key)
           
 
Method Summary
 java.io.Serializable getKey()
           
 java.lang.String getType()
           
 void setKey(java.io.Serializable key)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheNotification

public CacheNotification()

CacheNotification

public CacheNotification(java.lang.String type,
                         java.io.Serializable key)
Method Detail

setType

public void setType(java.lang.String type)

getType

public java.lang.String getType()

setKey

public void setKey(java.io.Serializable key)

getKey

public java.io.Serializable getKey()