com.arjuna.ats.arjuna.common
Interface ObjectStoreEnvironmentBeanMBean

All Known Implementing Classes:
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
 int getCacheStoreHash()
           
 int getCacheStoreRemovedItems()
           
 int getCacheStoreScanPeriod()
           
 int getCacheStoreSize()
           
 int getCacheStoreWorkItems()
           
 boolean getDropTable()
          Should the store drop the table
 int getHashedDirectories()
           
 int getHierarchyRetry()
           
 int getHierarchyTimeout()
           
 String getJdbcAccess()
          Get the JDBCAccess details.
 String getLocalOSRoot()
           
 String getObjectStoreDir()
           
 String getObjectStoreType()
           
 long getPurgeTime()
           
 int getShare()
           
 String getTablePrefix()
          Get the table prefix
 long getTxLogSize()
           
 boolean isCacheStoreSync()
           
 boolean isObjectStoreSync()
           
 boolean isSynchronousRemoval()
           
 boolean isTransactionSync()
           
 void setDropTable(boolean dropTable)
          Set whether to drop the table.
 void setJdbcAccess(String connectionDetails)
          Sets the instance of JDBCAccess
 void setTablePrefix(String tablePrefix)
          Set the table prefix
 

Method Detail

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()

getShare

int getShare()

getHierarchyRetry

int getHierarchyRetry()

getHierarchyTimeout

int getHierarchyTimeout()

isSynchronousRemoval

boolean isSynchronousRemoval()

getTxLogSize

long getTxLogSize()

getPurgeTime

long getPurgeTime()

getJdbcAccess

String getJdbcAccess()
Get the JDBCAccess details.


setJdbcAccess

void setJdbcAccess(String connectionDetails)
Sets the instance of JDBCAccess

Parameters:
instance - an Object that implements JDBCAccess, or null.

getTablePrefix

String getTablePrefix()
Get the table prefix

Returns:
The prefix to apply to the table

setTablePrefix

void setTablePrefix(String tablePrefix)
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


Copyright © 2013. All Rights Reserved.