|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Revisions:
28 septembre 2002 Sacha Labourey:
InvalidationManagerMBean
Field Summary | |
static int |
AUTO_ACKNOWLEDGE_MODE
|
static int |
CLIENT_ACKNOWLEDGE_MODE
|
static int |
DUPS_OK_ACKNOWLEDGE_MODE
|
static int |
IN_ONLY_BRIDGE_PROPAGATION
|
static int |
IN_OUT_BRIDGE_PROPAGATION
|
static int |
OUT_ONLY_BRIDGE_PROPAGATION
|
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 | |
int |
getAcknowledgeMode()
Status of the JMS topic wrt messages acknowledgement |
String |
getConnectionFactoryName()
JNDI name of the JMS connection factory to use for cache invalidations |
String |
getInvalidationManager()
ObjectName of the InvalidationManager to be used. |
int |
getPropagationMode()
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 |
String |
getProviderUrl()
Provider URL to use for JMS access. |
String |
getTopicName()
JNDI name of the Topic to use to send/receive cache invalidations. |
boolean |
isTransacted()
Status of the JMS topic wrt transactions |
void |
setAcknowledgeMode(int ackMode)
|
void |
setConnectionFactoryName(String factoryName)
|
void |
setInvalidationManager(String objectName)
|
void |
setPropagationMode(int propagationMode)
|
void |
setProviderUrl(String url)
|
void |
setTopicName(String topicName)
|
void |
setTransacted(boolean isTransacted)
|
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Field Detail |
public static final int AUTO_ACKNOWLEDGE_MODE
public static final int CLIENT_ACKNOWLEDGE_MODE
public static final int DUPS_OK_ACKNOWLEDGE_MODE
public static final int IN_OUT_BRIDGE_PROPAGATION
public static final int IN_ONLY_BRIDGE_PROPAGATION
public static final int OUT_ONLY_BRIDGE_PROPAGATION
Method Detail |
public String getInvalidationManager()
public void setInvalidationManager(String objectName)
public String getConnectionFactoryName()
public void setConnectionFactoryName(String factoryName)
public String getTopicName()
public void setTopicName(String topicName)
public String getProviderUrl()
public void setProviderUrl(String url)
public boolean isTransacted()
public void setTransacted(boolean isTransacted)
public int getAcknowledgeMode()
public void setAcknowledgeMode(int ackMode)
public int getPropagationMode()
public void setPropagationMode(int propagationMode)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |