public class FragmentData extends Object
Constructor and Description |
---|
FragmentData(ExecProtos.FragmentHandle handle,
CoordinationProtos.DrillbitEndpoint endpoint,
boolean isLocal) |
Modifier and Type | Method and Description |
---|---|
CoordinationProtos.DrillbitEndpoint |
getEndpoint() |
ExecProtos.FragmentHandle |
getHandle() |
UserBitShared.MinorFragmentProfile |
getProfile() |
UserBitShared.FragmentState |
getState() |
boolean |
isLocal() |
void |
setStatus(BitControl.FragmentStatus newStatus)
Update the status for this fragment.
|
String |
toString() |
public FragmentData(ExecProtos.FragmentHandle handle, CoordinationProtos.DrillbitEndpoint endpoint, boolean isLocal)
public void setStatus(BitControl.FragmentStatus newStatus)
newStatus
- Updated statuspublic UserBitShared.FragmentState getState()
public UserBitShared.MinorFragmentProfile getProfile()
public boolean isLocal()
public CoordinationProtos.DrillbitEndpoint getEndpoint()
public ExecProtos.FragmentHandle getHandle()
Copyright © 1970 The Apache Software Foundation. All rights reserved.