Package com.arjuna.ats.arjuna.common
Interface ObjectStoreEnvironmentBeanMBean
- All Known Implementing Classes:
MetaObjectStoreEnvironmentBean,ObjectStoreEnvironmentBean
public interface ObjectStoreEnvironmentBeanMBean
A JMX MBean interface containing configuration for the objectstore and various implementations thereof.
- Author:
- Jonathan Halliday (jonathan.halliday@redhat.com)
-
Method Summary
Modifier and TypeMethodDescriptionintintintintintbooleanShould the store drop the tableintintintGet the JDBCAccess details.longintgetShare()Get the table prefixlongbooleanbooleanbooleanbooleanvoidsetDropTable(boolean dropTable) Set whether to drop the table.voidsetJdbcAccess(String connectionDetails) Sets the instance of JDBCAccessvoidsetTablePrefix(String tablePrefix) Set the table prefix
-
Method Details
-
getCacheStoreSize
int getCacheStoreSize() -
isCacheStoreSync
boolean isCacheStoreSync() -
getCacheStoreRemovedItems
int getCacheStoreRemovedItems() -
getCacheStoreScanPeriod
int getCacheStoreScanPeriod() -
getCacheStoreWorkItems
int getCacheStoreWorkItems() -
getCacheStoreHash
int getCacheStoreHash() -
getLocalOSRoot
String getLocalOSRoot() -
getObjectStoreDir
String getObjectStoreDir() -
isObjectStoreSync
boolean isObjectStoreSync() -
getObjectStoreType
String getObjectStoreType() -
getHashedDirectories
int getHashedDirectories() -
isTransactionSync
boolean isTransactionSync() -
getHierarchyRetry
int getHierarchyRetry() -
getHierarchyTimeout
int getHierarchyTimeout() -
isSynchronousRemoval
boolean isSynchronousRemoval() -
getTxLogSize
long getTxLogSize() -
getPurgeTime
long getPurgeTime() -
getJdbcAccess
String getJdbcAccess()Get the JDBCAccess details. -
setJdbcAccess
Sets the instance of JDBCAccess- Parameters:
connectionDetails- an Object that provides JDBCAccess, or null.
-
getTablePrefix
String getTablePrefix()Get the table prefix- Returns:
- The prefix to apply to the table
-
setTablePrefix
Set the table prefix- Parameters:
tablePrefix- A prefix to use on the tables
-
getDropTable
boolean getDropTable()Should the store drop the table- Returns:
- Whether to drop the table
-
setDropTable
void setDropTable(boolean dropTable) Set whether to drop the table.- Parameters:
dropTable- Drop the table
-