Package org.apache.pinot.common.messages
Class ForceCommitMessage
- java.lang.Object
-
- org.apache.helix.HelixProperty
-
- org.apache.helix.model.Message
-
- org.apache.pinot.common.messages.ForceCommitMessage
-
public class ForceCommitMessage extends org.apache.helix.model.MessageForce commit helix message is created on controller and get sent to servers to instruct them to stop consumption and immediately start committing the segment.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFORCE_COMMIT_MSG_SUB_TYPE
-
Constructor Summary
Constructors Constructor Description ForceCommitMessage(String tableNameWithType, Set<String> segmentNames)ForceCommitMessage(org.apache.helix.model.Message message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getSegmentNames()StringgetTableName()-
Methods inherited from class org.apache.helix.model.Message
addPartitionName, attachRelayMessage, createReplyMessage, getAttribute, getBucketSize, getCompletionDueTimeStamp, getCorrelationId, getCreateTimeStamp, getDebug, getExecuteStartTimeStamp, getExecutionSessionId, getExecutionTimeout, getExpiryPeriod, getFromState, getGeneration, getKey, getMsgId, getMsgSrc, getMsgState, getMsgSubType, getMsgType, getPartitionName, getPartitionNames, getReadTimeStamp, getRelayMessage, getRelayMessages, getRelaySrcHost, getRelayTime, getResourceGroupName, getResourceName, getResourceTag, getResultMap, getRetryCount, getSrcClusterName, getSrcInstanceType, getSrcSessionId, getStateModelDef, getStateModelFactoryName, getTgtName, getTgtSessionId, getToState, hasRelayMessages, isControlerMsg, isExpired, isParticipantStatusChangeType, isRelayMessage, isValid, setAttribute, setBucketSize, setCompletionDueTimeStamp, setCorrelationId, setCreateTimeStamp, setExecuteSessionId, setExecuteStartTimeStamp, setExecutionTimeout, setExpectedSessionId, setExpired, setExpiryPeriod, setFromState, setMsgId, setMsgState, setMsgSubType, setPartitionName, setReadTimeStamp, setRelayTime, setResourceGroupName, setResourceName, setResourceTag, setResultMap, setRetryCount, setSrcClusterName, setSrcInstanceType, setSrcName, setSrcSessionId, setStateModelDef, setStateModelFactoryName, setTgtName, setTgtSessionId, setToState
-
-
-
-
Field Detail
-
FORCE_COMMIT_MSG_SUB_TYPE
public static final String FORCE_COMMIT_MSG_SUB_TYPE
- See Also:
- Constant Field Values
-
-