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

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


org.jboss.mq.pm.rollinglogged
Interface PersistenceManagerMBean

All Superinterfaces:
PersistenceManagerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
PersistenceManager

public interface PersistenceManagerMBean
extends org.jboss.system.ServiceMBean, PersistenceManagerMBean

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
 
Fields inherited from interface org.jboss.mq.pm.PersistenceManagerMBean
OBJECT_NAME
 
Method Summary
 String getDataDirectory()
          Gets the DataDirectory attribute of the PersistenceManagerMBean object
 Object getInstance()
          Returns this instance.
 int getRollOverSize()
          Gets maximum number of messages until log rolls over
 void setDataDirectory(String newDataDirectory)
          Sets the DataDirectory attribute of the PersistenceManagerMBean object
 void setRollOverSize(int rollOverSize)
          Sets the maximum number of messages before log rolls over
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface org.jboss.mq.pm.PersistenceManagerMBean
getMessageCache, setMessageCache
 

Method Detail

setDataDirectory

public void setDataDirectory(String newDataDirectory)
Sets the DataDirectory attribute of the PersistenceManagerMBean object

Parameters:
newDataDirectory - The new DataDirectory value

getDataDirectory

public String getDataDirectory()
Gets the DataDirectory attribute of the PersistenceManagerMBean object

Returns:
The DataDirectory value

setRollOverSize

public void setRollOverSize(int rollOverSize)
Sets the maximum number of messages before log rolls over

Parameters:
rollOverSize - The maximum number of messages before rollover occurs

getRollOverSize

public int getRollOverSize()
Gets maximum number of messages until log rolls over

Returns:
number of messages before log rolls over

getInstance

public Object getInstance()
Returns this instance.

Specified by:
getInstance in interface PersistenceManagerMBean
Returns:
this


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