public interface TwillContainerController extends ServiceController, com.google.common.util.concurrent.Service
ServiceController
that allows sending a message directly. Internal use only.ServiceController.TerminationStatus
Modifier and Type | Method and Description |
---|---|
void |
completed(int exitStatus)
Calls to indicated that the container that this controller is associated with is completed.
|
int |
getInstanceId() |
ContainerLiveNodeData |
getLiveNodeData() |
com.google.common.util.concurrent.ListenableFuture<org.apache.twill.internal.state.Message> |
sendMessage(org.apache.twill.internal.state.Message message) |
awaitTerminated, awaitTerminated, getRunId, getTerminationStatus, kill, onRunning, onTerminated, sendCommand, sendCommand, terminate
com.google.common.util.concurrent.ListenableFuture<org.apache.twill.internal.state.Message> sendMessage(org.apache.twill.internal.state.Message message)
void completed(int exitStatus)
@Nullable ContainerLiveNodeData getLiveNodeData()
int getInstanceId()
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.