org.jboss.cache.invalidation.bridges
Interface JGCacheInvalidationBridgeMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Implementing Classes:
JGCacheInvalidationBridge (src)

public interface JGCacheInvalidationBridgeMBean
extends ServiceMBean (src)

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.

See Also:
JGCacheInvalidationBridge (src) , InvalidationManager (src)

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

Method Detail

getPartitionName

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


setPartitionName

public void setPartitionName(java.lang.String partitionName)

getInvalidationManager

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


setInvalidationManager

public void setInvalidationManager(java.lang.String objectName)

getBridgeName

public java.lang.String getBridgeName()

setBridgeName

public void setBridgeName(java.lang.String name)