org.ow2.carol.cmi.ha
Interface MessageManager

All Known Implementing Classes:
JGMessageManager

public interface MessageManager


Method Summary
 void clear()
          Clear the GCS.
 double getAvgSizeofReplicatedMessages()
          Get the average size of the replicated messages sent.
 long getNumberofReplicatedMessages()
          Get the number of replicated messages sent.
 double getTotSizeofReplicatedMessages()
          Get the total size of the replicated messages sent.
 java.lang.String jgroupsConfFileName()
          Get the JGroups configuration file name.
 void sendMessage(HaMessageData messageData)
          Sends a message.
 

Method Detail

sendMessage

void sendMessage(HaMessageData messageData)
Sends a message.

Parameters:
messageData - the message

clear

void clear()
Clear the GCS.


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

jgroupsConfFileName

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

Returns:
the JGroups configuration file name


Copyright © 2007 OW2 Consortium. All Rights Reserved.