|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.admin.cache.UpdateMessage
A message that indicates which method to invoke on a remote cache's CacheUpdater
interface, as well as the arguments to the method. This message is transmitted between
cache's by calling CacheManager.put
to send it and
CacheManager.removeEntry
to receive it.
CacheUpdater
,
CacheManager
Field Summary | |
static int |
ADD
symbol for the CacheUpdater.add(AdministrativeDomain) method |
private Object[] |
args
the arguments to the CacheUpdater method |
static int |
DELETE
symbol for the CacheUpdater.delete(AdministrativeDomain) method |
private int |
method
Indicates which method on the CacheUpdater to invoke. |
static int |
MODIFY
symbol for the CacheUpdater.modify(AdministrativeDomain) method |
static int |
MOVE
symbol for the CacheUpdater.move(AdministrativeDomain, AdminDomainRef, AdminDomainRef) method |
Constructor Summary | |
UpdateMessage(int method,
Object[] args)
|
Method Summary | |
Object[] |
getArgs()
Gets the arguments to the method that this message refers to. |
int |
getMethod()
Gets the constant for the method on the CacheUpdater interface
that this message refers to. |
String |
toString()
Returns a string representation of an UpdateMessage object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private int method
CacheUpdater
to invoke.
The integer must be one of the values defined by constants in this class.
private Object[] args
CacheUpdater
method
public static final int ADD
CacheUpdater.add(AdministrativeDomain)
method
public static final int DELETE
CacheUpdater.delete(AdministrativeDomain)
method
public static final int MODIFY
CacheUpdater.modify(AdministrativeDomain)
method
public static final int MOVE
CacheUpdater.move(AdministrativeDomain, AdminDomainRef, AdminDomainRef)
method
Constructor Detail |
public UpdateMessage(int method, Object[] args)
method
- constant defined in this class that represents a method on
the CacheUpdater
interfaceargs
- arguments to the CacheUpdater
methodMethod Detail |
public int getMethod()
CacheUpdater
interface
that this message refers to.
public Object[] getArgs()
public String toString()
UpdateMessage
object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |