- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Event>
public final class ViewEvent
- extends Event
A view event to be logged.
- Rune Vestvik, Hein Meling
- See Also:
- Serialized Form
Nested Class Summary
Supported view change event types.
|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
public ViewEvent(EventType type,
public int getViewSize()
public long getViewId()
public View getView()
public int getGroupId()
public boolean isFirstView()
- True if this view is the first view installed by the member of this view.
False is returned otherwise. Meaning that if there is more than one member or
if the single member view is not the first that the member has installed, then
false will be returned.
public boolean isFullyReplicated()
public boolean isOK()
public boolean needRecovery()
public boolean hasTooManyReplicas()
public java.lang.String toString()
toString in class
public java.lang.String shortToString()
- Print the content of this view event without the host and time.
protected void commonToString(java.lang.StringBuilder buf)
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.