@InterfaceAudience.Private public class RefreshPeerCallable extends Object implements RSProcedureCallable
Modifier and Type | Field and Description |
---|---|
private Exception |
initError |
private static org.apache.log4j.Logger |
LOG |
private String |
peerId |
private HRegionServer |
rs |
private org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.PeerModificationType |
type |
Constructor and Description |
---|
RefreshPeerCallable() |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
EventType |
getEventType()
Event type used to select thread pool.
|
void |
init(byte[] parameter,
HRegionServer rs)
Initialize the callable
|
private static final org.apache.log4j.Logger LOG
private HRegionServer rs
private org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.PeerModificationType type
public RefreshPeerCallable()
public void init(byte[] parameter, HRegionServer rs)
RSProcedureCallable
init
in interface RSProcedureCallable
parameter
- the parameter passed from master.rs
- the regionserver instancepublic EventType getEventType()
RSProcedureCallable
getEventType
in interface RSProcedureCallable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.