com.sleepycat.je.rep.monitor
Class Protocol.LeaveGroup
java.lang.Object
com.sleepycat.je.rep.impl.TextProtocol.Message
com.sleepycat.je.rep.impl.TextProtocol.RequestMessage
com.sleepycat.je.rep.monitor.Protocol.LeaveGroup
- All Implemented Interfaces:
- TextProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.LeaveGroup
- extends TextProtocol.RequestMessage
Protocol.LeaveGroup
public Protocol.LeaveGroup(String nodeName,
String masterName,
LeaveGroupEvent.LeaveReason leaveReason,
long joinTime,
long leaveTime)
Protocol.LeaveGroup
public Protocol.LeaveGroup(String line,
String[] tokens)
throws TextProtocol.InvalidMessageException
- Throws:
TextProtocol.InvalidMessageException
getLeaveReason
public LeaveGroupEvent.LeaveReason getLeaveReason()
getLeaveTime
public long getLeaveTime()
getOp
public TextProtocol.MessageOp getOp()
- Specified by:
getOp
in class TextProtocol.Message
wireFormat
public String wireFormat()
- Specified by:
wireFormat
in interface TextProtocol.WireFormatable
Copyright (c) 2004-2010 Oracle. All rights reserved.