org.ow2.carol.cmi.ha
Interface ReplicationManagerImplMBean

All Known Implementing Classes:
ReplicationManagerImpl

public interface ReplicationManagerImplMBean

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 getdatasourceName()
          Get the Datasource name required to hold the EB version numbers of the horizontal replication approach.
 long getinfoTimeout()
          Get the SFSB info timeout to clean certain information stored in memory.
 java.lang.String getjgroupsConfFileName()
          Get the JGroups configuration file name.
 java.lang.String getName()
           
 long getnumberofReplicatedMessages()
          Get the number of replicated messages sent.
 java.lang.String getobjectName()
           
 double gettotSizeofReplicatedMessages()
          Get the total size of the replicated messages sent.
 void setdatasourceName(java.lang.String name)
          Set the Datasource name required to hold the EB version numbers of the horizontal replication approach.
 void setinfoTimeout(long timeout)
          Set the SFSB info timeout.
 

Method Detail

getName

java.lang.String getName()
Returns:
the name of this bean

getobjectName

java.lang.String getobjectName()
Returns:
Object Name

getnumberofReplicatedMessages

long getnumberofReplicatedMessages()
Get the number of replicated messages sent.

Returns:
the number of replicated messages

getavgSizeofReplicatedMessages

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

Returns:
the number of replicated messages

gettotSizeofReplicatedMessages

double gettotSizeofReplicatedMessages()
Get the total size of the replicated messages sent.

Returns:
the total size of the replicated messages

getjgroupsConfFileName

java.lang.String getjgroupsConfFileName()
Get the JGroups configuration file name.

Returns:
the JGroups configuration file name

getinfoTimeout

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

Returns:
the timeout that

setinfoTimeout

void setinfoTimeout(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

getdatasourceName

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

Returns:
the Datasource name

setdatasourceName

void setdatasourceName(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


Copyright © 2007 OW2 Consortium. All Rights Reserved.