org.objectweb.jonas.ha
Interface HaServiceImplMBean

All Known Implementing Classes:
HaServiceImpl

public interface HaServiceImplMBean

MBean Interface for HAService MBean type: Standard MBean model: Inheritance (HaServiceImpl)

Author:
Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es), Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es)

Method Summary
 double getAvgSizeofReplicatedMessages()
          Get the average size of the replicated messages sent.
 java.lang.String getHRDatasourceName()
          Get the Datasource name required to hold the EB version numbers of the horizontal replication approach.
 long getNumberofReplicatedMessages()
          Get the number of replicated messages sent.
 long getSFSBInfoTimeout()
          Get the SFSB info timeout to clean certain information stored in memory.
 void setHRDatasourceName(java.lang.String name)
          Set the Datasource name required to hold the EB version numbers of the horizontal replication approach.
 void setSFSBInfoTimeout(long timeout)
          Set the SFSB info timeout.
 

Method Detail

getNumberofReplicatedMessages

public long getNumberofReplicatedMessages()
Get the number of replicated messages sent.

Returns:
the number of replicated messages

getAvgSizeofReplicatedMessages

public double getAvgSizeofReplicatedMessages()
Get the average size of the replicated messages sent.

Returns:
the number of replicated messages

getSFSBInfoTimeout

public long getSFSBInfoTimeout()
Get the SFSB info timeout to clean certain information stored in memory.

Returns:
the timeout that

setSFSBInfoTimeout

public void setSFSBInfoTimeout(long timeout)
Set the SFSB info timeout. The info stored in the node is removed when the timer expires.

Parameters:
timeout - the timeout to clean the info

getHRDatasourceName

public java.lang.String getHRDatasourceName()
Get the Datasource name required to hold the EB version numbers of the horizontal replication approach.

Returns:
the Datasource name

setHRDatasourceName

public void setHRDatasourceName(java.lang.String name)
Set the Datasource name required to hold the EB version numbers of the horizontal replication approach.

Parameters:
name - the name of the datasource