net.sf.swarmcache
Class CacheNotification

java.lang.Object
  extended by 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, Max Vasenkov
See Also:
Serialized Form

Constructor Summary
CacheNotification()
           
CacheNotification(java.lang.String type, java.lang.String invokedM, java.io.Serializable[] params)
           
 
Method Summary
 java.lang.String getCacheType()
           
 java.lang.String getClusterName()
           
 java.lang.String getInvokedMethod()
           
 java.io.Serializable[] getParameters()
           
 boolean sameCluster()
           
 void setCacheType(java.lang.String cacheType)
           
 void setClusterName()
           
 void setInvokedMethod(java.lang.String inv)
           
 void setParameters(java.io.Serializable[] key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheNotification

public CacheNotification()

CacheNotification

public CacheNotification(java.lang.String type,
                         java.lang.String invokedM,
                         java.io.Serializable[] params)
Method Detail

setCacheType

public void setCacheType(java.lang.String cacheType)

getCacheType

public java.lang.String getCacheType()

setParameters

public void setParameters(java.io.Serializable[] key)

getParameters

public java.io.Serializable[] getParameters()

getInvokedMethod

public java.lang.String getInvokedMethod()

setInvokedMethod

public void setInvokedMethod(java.lang.String inv)

getClusterName

public java.lang.String getClusterName()

sameCluster

public boolean sameCluster()

setClusterName

public void setClusterName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.