站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

DestinationManagerMBean (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.server.jmx
Interface DestinationManagerMBean

All Superinterfaces:
InterceptorMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
DestinationManager

public interface DestinationManagerMBean
extends InterceptorMBean

MBean interface.


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
 void createQueue(String name)
           
 void createQueue(String name, String jndiLocation)
           
 void createTopic(String name)
           
 void createTopic(String name, String jndiLocation)
           
 void destroyQueue(String name)
           
 void destroyTopic(String name)
           
 int getClientCount()
           
 Map getClients()
           
 javax.management.ObjectName getMessageCache()
          Get the value of MessageCache.
 MessageCounter[] getMessageCounter()
          get message counter of all configured destinations
 int getMessageCounterHistoryDayLimit()
          Gets the destination message counter history day limit
 MessageStatistics[] getMessageStatistics()
          get message stats
 javax.management.ObjectName getPersistenceManager()
          Get the value of PersistenceManager.
 Class getReceiversImpl()
          Get the receivers implemenetation
 javax.management.ObjectName getStateManager()
          Get the value of StateManager.
 boolean getTemporaryInMemory()
          Retrieve the temporary topic/queue in memory mode
 int getTemporaryMaxDepth()
          Retrieve the temporary topic/queue max depth
 String listMessageCounter()
          List message counter of all configured destinations as HTML table
 void resetMessageCounter()
          Reset message counter of all configured destinations
 void setMessageCache(javax.management.ObjectName objectName)
          Set the value of MessageCache.
 void setMessageCounterHistoryDayLimit(int days)
          Sets the destination message counter history day limit <0: unlimited, =0: disabled, > 0 maximum day count
 void setPersistenceManager(javax.management.ObjectName objectName)
          Set the value of PersistenceManager.
 void setReceiversImpl(Class clazz)
          Set the receivers implementation class
 void setStateManager(javax.management.ObjectName objectName)
          Set the value of StateManager.
 void setTemporaryInMemory(boolean mode)
          Set the temporary topic/queue in memory mode
 void setTemporaryMaxDepth(int depth)
          Set the temporary topic/queue max depth
 
Methods inherited from interface org.jboss.mq.server.jmx.InterceptorMBean
getInterceptor, getNextInterceptor, setNextInterceptor
 
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

getClientCount

public int getClientCount()

getClients

public Map getClients()

getPersistenceManager

public javax.management.ObjectName getPersistenceManager()
Get the value of PersistenceManager.

Returns:
value of PersistenceManager.

setPersistenceManager

public void setPersistenceManager(javax.management.ObjectName objectName)
Set the value of PersistenceManager.


getStateManager

public javax.management.ObjectName getStateManager()
Get the value of StateManager.

Returns:
value of StateManager.

setStateManager

public void setStateManager(javax.management.ObjectName objectName)
Set the value of StateManager.


getMessageCache

public javax.management.ObjectName getMessageCache()
Get the value of MessageCache.

Returns:
value of MessageCache.

setMessageCache

public void setMessageCache(javax.management.ObjectName objectName)
Set the value of MessageCache.


getTemporaryMaxDepth

public int getTemporaryMaxDepth()
Retrieve the temporary topic/queue max depth

Returns:
the maximum depth

setTemporaryMaxDepth

public void setTemporaryMaxDepth(int depth)
Set the temporary topic/queue max depth

Parameters:
depth - the maximum depth

getTemporaryInMemory

public boolean getTemporaryInMemory()
Retrieve the temporary topic/queue in memory mode

Returns:
true for in memory

setTemporaryInMemory

public void setTemporaryInMemory(boolean mode)
Set the temporary topic/queue in memory mode

Parameters:
mode - true for in memory

getReceiversImpl

public Class getReceiversImpl()
Get the receivers implemenetation

Returns:
the receivers implementation class

setReceiversImpl

public void setReceiversImpl(Class clazz)
Set the receivers implementation class

Parameters:
clazz - the receivers implementation class

createQueue

public void createQueue(String name)
                 throws Exception
Throws:
Exception

createTopic

public void createTopic(String name)
                 throws Exception
Throws:
Exception

createQueue

public void createQueue(String name,
                        String jndiLocation)
                 throws Exception
Throws:
Exception

createTopic

public void createTopic(String name,
                        String jndiLocation)
                 throws Exception
Throws:
Exception

destroyQueue

public void destroyQueue(String name)
                  throws Exception
Throws:
Exception

destroyTopic

public void destroyTopic(String name)
                  throws Exception
Throws:
Exception

setMessageCounterHistoryDayLimit

public void setMessageCounterHistoryDayLimit(int days)
Sets the destination message counter history day limit <0: unlimited, =0: disabled, > 0 maximum day count

Parameters:
days - maximum day count

getMessageCounterHistoryDayLimit

public int getMessageCounterHistoryDayLimit()
Gets the destination message counter history day limit

Returns:
Maximum day count

getMessageCounter

public MessageCounter[] getMessageCounter()
                                   throws Exception
get message counter of all configured destinations

Throws:
Exception

getMessageStatistics

public MessageStatistics[] getMessageStatistics()
                                         throws Exception
get message stats

Throws:
Exception

listMessageCounter

public String listMessageCounter()
                          throws Exception
List message counter of all configured destinations as HTML table

Throws:
Exception

resetMessageCounter

public void resetMessageCounter()
Reset message counter of all configured destinations



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.