jgroup.util.log
Class ReplicaEvent

java.lang.Object
  extended by jgroup.util.log.Event
      extended by jgroup.util.log.ReplicaEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Event>

public class ReplicaEvent
extends Event

A replica event to be logged.

Author:
Hein Meling
See Also:
Serialized Form

Nested Class Summary
static class ReplicaEvent.Type
          Supported replica event types.
 
Field Summary
 
Fields inherited from class jgroup.util.log.Event
description, eventHost, time, type
 
Constructor Summary
ReplicaEvent(EventType type, int groupId)
           
ReplicaEvent(EventType type, int groupId, java.net.InetAddress host)
           
 
Method Summary
 AppConfig getAppConfig()
           
 int getGroupId()
           
 java.net.InetAddress getLocation()
           
 java.lang.String toString()
           
 
Methods inherited from class jgroup.util.log.Event
commonToString, compareTo, getDescription, getHost, getHostname, getTime, getType, isLastEvent, isType, setRelativeTo, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicaEvent

public ReplicaEvent(EventType type,
                    int groupId)

ReplicaEvent

public ReplicaEvent(EventType type,
                    int groupId,
                    java.net.InetAddress host)
Method Detail

getGroupId

public int getGroupId()
Returns:
Returns the groupId.

getAppConfig

public AppConfig getAppConfig()
Returns:
Returns the AppConfig object associated with this event.

getLocation

public java.net.InetAddress getLocation()
Returns:
Returns the location of this event.

toString

public java.lang.String toString()
Overrides:
toString in class Event


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.