org.jboss.cache.invalidation.bridges
Interface JGCacheInvalidationBridgeMBean

All Superinterfaces:
Service, ServiceMBean
All Known Implementing Classes:
JGCacheInvalidationBridge

public interface JGCacheInvalidationBridgeMBean
extends ServiceMBean

MBean interface for JGroups cache invalidation bridge. The partition to be used and the invalidation manager can be defined as part of the MBean interface. The bridge automatically discovers the InvalidationGroups that are managed by other nodes of the cluster and only sends invalidation information for these groups over the network. This makes this bridge very easy to setup while still being efficient with network resources and CPU serialization cost.

Version:
$Revision: 81001 $

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()
          Get the invalidation bridge name.
 org.jboss.ha.framework.interfaces.HAPartition getHAPartition()
          Get the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e., InvalidationGroup) are available.
 InvalidationManagerMBean getInvalidationManager()
          Get the InvalidationManager
 String getPartitionName()
          Gets the name of the partition to be used to exchange invalidation messages and discover which caches (i.e., InvalidationGroup)are available.
 void setBridgeName(String name)
          Set the invalidation bridge name
 void setHAPartition(org.jboss.ha.framework.interfaces.HAPartition clusterPartition)
          Sets the underlying partition used by this service to exchange invalidation messages and discover which caches (i.e., InvalidationGroup) are available
 void setInvalidationManager(InvalidationManagerMBean manager)
          Set the InvalidationManager
 
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 partition to be used to exchange invalidation messages and discover which caches (i.e., InvalidationGroup)are available. This is a convenience method as the partition name is an attribute of HAPartition.

Returns:
the name of the partition

getHAPartition

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

Returns:
the partition

setHAPartition

void setHAPartition(org.jboss.ha.framework.interfaces.HAPartition 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

getBridgeName

String getBridgeName()
Get the invalidation bridge name.

Returns:
the invalidation bridge name

setBridgeName

void setBridgeName(String name)
Set the invalidation bridge name

Parameters:
name - of the bridge

getInvalidationManager

InvalidationManagerMBean getInvalidationManager()
Get the InvalidationManager


setInvalidationManager

void setInvalidationManager(InvalidationManagerMBean manager)
Set the InvalidationManager



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.