FileDocCategorySizeDatePackage
JGCacheInvalidationBridgeMBean.javaAPI DocJBoss 4.2.13638Fri Jul 13 20:52:36 BST 2007org.jboss.cache.invalidation.bridges

JGCacheInvalidationBridgeMBean

public interface JGCacheInvalidationBridgeMBean implements 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.
see
JGCacheInvalidationBridge
see
org.jboss.cache.invalidation.InvalidationManager
author
Sacha Labourey.
version
$Revision: 57188 $

Revisions:

24 septembre 2002 Sacha Labourey:

  • First implementation

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetBridgeName()

public org.jboss.ha.framework.server.ClusterPartitionMBeangetClusterPartition()
Get the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e. InvalidationGroup) are available

return
the partition

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

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

return
the name of the partition
deprecate
use {@link #getClusterPartition()}

public voidsetBridgeName(java.lang.String name)

public voidsetClusterPartition(org.jboss.ha.framework.server.ClusterPartitionMBean clusterPartition)
Sets the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e. InvalidationGroup) are available

param
clusterPartition the partition

public voidsetInvalidationManager(java.lang.String objectName)

public voidsetPartitionName(java.lang.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

param
name the name of the partition
deprecate
use {@link #setClusterPartition()}