| |
|
| org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridgeMBean
All known Subclasses: org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridge,
JMSCacheInvalidationBridgeMBean | public interface JMSCacheInvalidationBridgeMBean extends org.jboss.system.ServiceMBean(Code) | | Cache invalidation bridge based on JMS.
The list of InvalidationGroup to be bridged is *not* automatically
discovered, thus, all invalidation messages that are locally generated
are forwarded over JMS.
In the future, it should be possible, through a JMX attribute, to list
the InvalidationGroup that should be included/excluded
See Also: org.jboss.cache.invalidation.InvalidationManagerMBean author: Sacha Labourey. version: $Revision: 57209 $ version: Revisions: version: 28 septembre 2002 Sacha Labourey: version: version: - First implementation
version:
|
AUTO_ACKNOWLEDGE_MODE | final public static int AUTO_ACKNOWLEDGE_MODE(Code) | | |
CLIENT_ACKNOWLEDGE_MODE | final public static int CLIENT_ACKNOWLEDGE_MODE(Code) | | |
DUPS_OK_ACKNOWLEDGE_MODE | final public static int DUPS_OK_ACKNOWLEDGE_MODE(Code) | | |
IN_ONLY_BRIDGE_PROPAGATION | final public static int IN_ONLY_BRIDGE_PROPAGATION(Code) | | |
IN_OUT_BRIDGE_PROPAGATION | final public static int IN_OUT_BRIDGE_PROPAGATION(Code) | | |
OUT_ONLY_BRIDGE_PROPAGATION | final public static int OUT_ONLY_BRIDGE_PROPAGATION(Code) | | |
getAcknowledgeMode | public int getAcknowledgeMode()(Code) | | Status of the JMS topic wrt messages acknowledgement
|
getConnectionFactoryName | public String getConnectionFactoryName()(Code) | | JNDI name of the JMS connection factory to use for cache invalidations
|
getInvalidationManager | public String getInvalidationManager()(Code) | | ObjectName of the InvalidationManager to be used. Optional: in this
case, the default InvalidationManager is used.
|
getPropagationMode | public int getPropagationMode()(Code) | | Indicates if this bridge should:
1 - Post local invalidations to the topic and invalidate local caches with invalidations received on the topic
2 - Only invalidate local caches with invalidations received on the topic but not post anything on the topic
3 - Only post local invalidations to the topic and not listen to the Topic for invalidation messages
|
getProviderUrl | public String getProviderUrl()(Code) | | Provider URL to use for JMS access. If null, use the default settings
|
getTopicName | public String getTopicName()(Code) | | JNDI name of the Topic to use to send/receive cache invalidations.
Defaults to "topic/JMSCacheInvalidationBridge"
|
isTransacted | public boolean isTransacted()(Code) | | Status of the JMS topic wrt transactions
|
setAcknowledgeMode | public void setAcknowledgeMode(int ackMode)(Code) | | |
setConnectionFactoryName | public void setConnectionFactoryName(String factoryName)(Code) | | |
setInvalidationManager | public void setInvalidationManager(String objectName)(Code) | | |
setPropagationMode | public void setPropagationMode(int propagationMode)(Code) | | |
setTopicName | public void setTopicName(String topicName)(Code) | | |
setTransacted | public void setTransacted(boolean isTransacted)(Code) | | |
|
|
|