org.jboss.mq.server.jmx
Interface DestinationManagerMBean

All Superinterfaces:
InterceptorMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
DestinationManager, 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 getExpiryDestination()
          Returns the expiry destination.
 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
 int getRecoveryRetries()
          Returns the recovery retries
 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
 javax.management.ObjectName getThreadPool()
          Returns ThreadPool.
 String listMessageCounter()
          List message counter of all configured destinations as HTML table
 void resetMessageCounter()
          Reset message counter of all configured destinations
 Map retrievePreparedTransactions()
          Retrieve the prepared transactions
 void setExpiryDestination(javax.management.ObjectName destination)
          Sets the expiry destination.
 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 setRecoveryRetries(int retries)
          Sets the class implementating the receivers
 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
 void setThreadPool(javax.management.ObjectName threadPool)
          Sets ThreadPool.
 String showPreparedTransactions()
          Show the prepared transactions
 
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

int getClientCount()

getClients

Map getClients()

getPersistenceManager

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

Returns:
value of PersistenceManager.

setPersistenceManager

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

Parameters:
v - Value to assign to PersistenceManager.

getStateManager

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

Returns:
value of StateManager.

setStateManager

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

Parameters:
v - Value to assign to StateManager.

getMessageCache

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

Returns:
value of MessageCache.

setMessageCache

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

Parameters:
v - Value to assign to MessageCache.

getTemporaryMaxDepth

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

Returns:
the maximum depth

setTemporaryMaxDepth

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

Parameters:
depth - the maximum depth

getTemporaryInMemory

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

Returns:
true for in memory

setTemporaryInMemory

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

Parameters:
mode - true for in memory

getReceiversImpl

Class getReceiversImpl()
Get the receivers implemenetation

Returns:
the receivers implementation class

setReceiversImpl

void setReceiversImpl(Class clazz)
Set the receivers implementation class

Parameters:
clazz - the receivers implementation class

getRecoveryRetries

int getRecoveryRetries()
Returns the recovery retries


setRecoveryRetries

void setRecoveryRetries(int retries)
Sets the class implementating the receivers


getThreadPool

javax.management.ObjectName getThreadPool()
Returns ThreadPool.


setThreadPool

void setThreadPool(javax.management.ObjectName threadPool)
Sets ThreadPool.


getExpiryDestination

javax.management.ObjectName getExpiryDestination()
Returns the expiry destination.


setExpiryDestination

void setExpiryDestination(javax.management.ObjectName destination)
Sets the expiry destination.


createQueue

void createQueue(String name)
                 throws Exception
Throws:
Exception

createTopic

void createTopic(String name)
                 throws Exception
Throws:
Exception

createQueue

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

createTopic

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

destroyQueue

void destroyQueue(String name)
                  throws Exception
Throws:
Exception

destroyTopic

void destroyTopic(String name)
                  throws Exception
Throws:
Exception

setMessageCounterHistoryDayLimit

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

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

Returns:
Maximum day count

getMessageCounter

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

Throws:
Exception

getMessageStatistics

MessageStatistics[] getMessageStatistics()
                                         throws Exception
get message stats

Throws:
Exception

listMessageCounter

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

Throws:
Exception

resetMessageCounter

void resetMessageCounter()
Reset message counter of all configured destinations


retrievePreparedTransactions

Map retrievePreparedTransactions()
Retrieve the prepared transactions

Returns:
Map

showPreparedTransactions

String showPreparedTransactions()
Show the prepared transactions

Returns:
Some html


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