@InterfaceAudience.Private public class RegionTransition extends Object
Immutable
| Modifier and Type | Method and Description | 
|---|---|
| static RegionTransition | createRegionTransition(EventType type,
                      byte[] regionName,
                      ServerName sn) | 
| static RegionTransition | createRegionTransition(EventType type,
                      byte[] regionName,
                      ServerName sn,
                      byte[] payload) | 
| long | getCreateTime() | 
| EventType | getEventType() | 
| byte[] | getPayload() | 
| byte[] | getRegionName() | 
| ServerName | getServerName() | 
| static RegionTransition | parseFrom(byte[] data) | 
| byte[] | toByteArray() | 
| String | toString() | 
public EventType getEventType()
public ServerName getServerName()
public long getCreateTime()
public byte[] getRegionName()
public byte[] getPayload()
public static RegionTransition createRegionTransition(EventType type, byte[] regionName, ServerName sn)
type - regionName - sn - RegionTransitionpublic static RegionTransition createRegionTransition(EventType type, byte[] regionName, ServerName sn, byte[] payload)
type - regionName - sn - payload - May be nullRegionTransitionpublic static RegionTransition parseFrom(byte[] data) throws DeserializationException
data - Serialized date to parse.dataDeserializationExceptiontoByteArray()public byte[] toByteArray()
parseFrom(byte[])Copyright © 2013 The Apache Software Foundation. All Rights Reserved.