com.caucho.server.admin
Class ClusterStatService

java.lang.Object
  extended by com.caucho.bam.stream.AbstractMessageStream
      extended by com.caucho.bam.actor.SimpleActor
          extended by com.caucho.cloud.bam.AbstractCloudActor
              extended by com.caucho.server.admin.ClusterStatService
All Implemented Interfaces:
Actor, ActorHolder, ManagedActor, MessageStream, AlarmListener, java.util.EventListener

public class ClusterStatService
extends AbstractCloudActor
implements AlarmListener

Service for handling the distributed cache


Method Summary
 void addSample(java.lang.String to, java.lang.String from, AddSample msg)
          Message handler to add a new sample from a remote machine.
 void addSampleMetadata(java.lang.String to, java.lang.String from, AddSampleMetadata msg)
           
 void handleAlarm(Alarm alarm)
          Handles a callback from an alarm.
 void sampleMetadataError(java.lang.String to, java.lang.String from, AddSampleMetadata msg, BamError error)
           
 
Methods inherited from class com.caucho.cloud.bam.AbstractCloudActor
dbgId, getBamSender, getMailboxType, getManagedBroker, getPod, registerActor
 
Methods inherited from class com.caucho.bam.actor.SimpleActor
getActor, getAddress, getBroker, getMailbox, getSender, setAddress, setBroker, setMailbox
 
Methods inherited from class com.caucho.bam.stream.AbstractMessageStream
isClosed, message, messageError, query, queryError, queryResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.bam.stream.MessageStream
isClosed, message, messageError, query, queryError, queryResult
 

Method Detail

addSampleMetadata

@Message
public void addSampleMetadata(java.lang.String to,
                                      java.lang.String from,
                                      AddSampleMetadata msg)

sampleMetadataError

@MessageError
public void sampleMetadataError(java.lang.String to,
                                             java.lang.String from,
                                             AddSampleMetadata msg,
                                             BamError error)

addSample

@Message
public void addSample(java.lang.String to,
                              java.lang.String from,
                              AddSample msg)
Message handler to add a new sample from a remote machine.


handleAlarm

public void handleAlarm(Alarm alarm)
Description copied from interface: AlarmListener
Handles a callback from an alarm.

Specified by:
handleAlarm in interface AlarmListener