org.jboss.cache.invalidation.bridges
Interface JGCacheInvalidationBridgeMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
JGCacheInvalidationBridge

public interface JGCacheInvalidationBridgeMBean
extends org.jboss.system.ServiceMBean

Cache Invalidation bridge working over JavaGroup. The partition to be used and the invalidation manager can be defined as part of the MBean interface. The bridge automatically discovers which are the InvalidationGroup that are managed by other node of the cluster and only send invalidation information for these groups over the network. This makes this bridge very easy to setup while still being efficient with network resource and CPU serialization cost.

Version:
$Revision: 1.2.6.2 $

Revisions:

24 septembre 2002 Sacha Labourey:

Author:
Sacha Labourey.
See Also:
JGCacheInvalidationBridge, InvalidationManager

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 String getBridgeName()
           
 ClusterPartitionMBean getClusterPartition()
          Get the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e.
 String getInvalidationManager()
          ObjectName of the InvalidationManager to be used.
 String getPartitionName()
          Gets the name of the Clustering partition to be used to exchange invalidation messages and discover which caches (i.e.
 void setBridgeName(String name)
           
 void setClusterPartition(ClusterPartitionMBean clusterPartition)
          Sets the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e.
 void setInvalidationManager(String objectName)
           
 void setPartitionName(String name)
          Sets the name of the Clustering partition to be used to exchange invalidation messages and discover which caches (i.e.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getPartitionName

String getPartitionName()
Gets the name of the Clustering partition to be used to exchange invalidation messages and discover which caches (i.e. InvalidationGroup) are available

Returns:
the name of the partition

setPartitionName

void setPartitionName(String name)
Sets the name of the Clustering partition to be used to exchange invalidation messages and discover which caches (i.e. InvalidationGroup) are available

Parameters:
name - the name of the partition

getClusterPartition

ClusterPartitionMBean getClusterPartition()
Get the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e. InvalidationGroup) are available

Returns:
the partition

setClusterPartition

void setClusterPartition(ClusterPartitionMBean clusterPartition)
Sets the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e. InvalidationGroup) are available

Parameters:
clusterPartition - the partition

getInvalidationManager

String getInvalidationManager()
ObjectName of the InvalidationManager to be used. Optional: in this case, the default InvalidationManager is used.


setInvalidationManager

void setInvalidationManager(String objectName)

getBridgeName

String getBridgeName()

setBridgeName

void setBridgeName(String name)


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