public interface UserAgentMBean extends AgentMBean
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes this proxy.
|
String |
getDMQId()
Returns the default DMQ for subscription of this user.
|
int |
getMessageTableConsumedMemory()
Returns the amount of memory consumed by the message table.
|
String |
getName()
Returns the name of this queue, or its id if not set.
|
int |
getNbMaxMsg()
Returns the default maximum number of message for the subscription of this user.
|
long |
getNbMsgsSentToDMQSinceCreation()
Returns the number of erroneous messages forwarded to the DMQ since
creation time of this proxy..
|
long |
getPeriod()
Returns the period value of this queue, -1 if not set.
|
int |
getRedeliveryDelay()
Return the reDeliveryDelay (unit: second)
|
String[] |
getSubscriptionNames()
Returns the list of subscriptions for this user.
|
int |
getThreshold()
Returns the default threshold for the subscription of this user.
0 stands for no threshold, -1 for value not set.
|
void |
setNbMaxMsg(int nbMaxMsg)
Sets the maximum number of message for the subscription of this user.
|
void |
setPeriod(long period)
Sets or unsets the period for this queue.
|
void |
setRedeliveryDelay(int redeliveryDelay)
Sets the redelivery delay.
|
void |
setThreshold(int threshold)
Sets the default threshold for the subscription of this user.
0 stands for no threshold, -1 for value not set.
|
String |
toString()
Returns a string representation of this user's proxy.
|
getAgentId, getCommitTime, getReactNb, getReactTime, isAgentProfiling, isFixed, resetCommitTime, resetReactTime, resetTimer, setAgentProfiling
String getName()
getName
in interface AgentMBean
long getPeriod()
void setPeriod(long period)
period
- The period value to be set or -1 for unsetting previous
value.String[] getSubscriptionNames()
String toString()
toString
in interface AgentMBean
toString
in class Object
long getNbMsgsSentToDMQSinceCreation()
String getDMQId()
int getThreshold()
void setThreshold(int threshold)
threshold
- the threshold to set.int getNbMaxMsg()
void setNbMaxMsg(int nbMaxMsg)
nbMaxMsg
- the maximum number of message (-1 set no limit).void delete()
delete
in interface AgentMBean
int getMessageTableConsumedMemory()
int getRedeliveryDelay()
void setRedeliveryDelay(int redeliveryDelay)
redeliveryDelay
- the redelivery delay to set(unit: second)Copyright © 2022 ScalAgent D.T.. All rights reserved.