| |
|
| java.lang.Object com.opensymphony.oscache.plugins.clustersupport.ClusterNotification
ClusterNotification | public class ClusterNotification implements Serializable(Code) | | A notification message that holds information about a cache event. This
class is Serializable to allow it to be sent across the
network to other machines running in a cluster.
author: Chris Miller author: $Author: dres $ version: $Revision: 254 $ |
Field Summary | |
final public static int | FLUSH_CACHE Specifies a notification message indicating that an entire cache should
be flushed. | final public static int | FLUSH_GROUP Specifies a notification message that indicates an entire cache group
should be flushed. | final public static int | FLUSH_KEY Specifies a notification message that indicates a particular cache key
should be flushed. | final public static int | FLUSH_PATTERN Specifies a notification message that indicates all entries in the cache
that match the specified pattern should be flushed. | protected Serializable | data | protected int | type The type of notification message. |
Constructor Summary | |
public | ClusterNotification(int type, Serializable data) Creates a new notification message object to broadcast to other
listening nodes in the cluster.
Parameters: type - The type of notification message. |
FLUSH_CACHE | final public static int FLUSH_CACHE(Code) | | Specifies a notification message indicating that an entire cache should
be flushed.
|
FLUSH_GROUP | final public static int FLUSH_GROUP(Code) | | Specifies a notification message that indicates an entire cache group
should be flushed.
|
FLUSH_KEY | final public static int FLUSH_KEY(Code) | | Specifies a notification message that indicates a particular cache key
should be flushed.
|
FLUSH_PATTERN | final public static int FLUSH_PATTERN(Code) | | Specifies a notification message that indicates all entries in the cache
that match the specified pattern should be flushed.
|
type | protected int type(Code) | | The type of notification message.
|
getType | public int getType()(Code) | | The type of notification message.
|
|
|
|