public abstract class ContainerPlacementMessage
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ContainerPlacementMessage.StatusCode |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
deploymentId
Unique identifier for a deployment so messages can be invalidated across a job restarts
for ex yarn bases cluster manager can be set to app attempt id
|
protected java.lang.String |
destinationHost |
protected java.lang.String |
processorId |
protected java.time.Duration |
requestExpiry |
protected ContainerPlacementMessage.StatusCode |
statusCode |
protected long |
timestamp |
protected java.util.UUID |
uuid
Unique identifier of a request or response message.
|
Modifier | Constructor and Description |
---|---|
protected |
ContainerPlacementMessage(java.util.UUID uuid,
java.lang.String deploymentId,
java.lang.String processorId,
java.lang.String destinationHost,
ContainerPlacementMessage.StatusCode statusCode,
long timestamp) |
protected |
ContainerPlacementMessage(java.util.UUID uuid,
java.lang.String deploymentId,
java.lang.String processorId,
java.lang.String destinationHost,
java.time.Duration requestExpiry,
ContainerPlacementMessage.StatusCode statusCode,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDeploymentId() |
java.lang.String |
getDestinationHost() |
java.lang.String |
getProcessorId() |
java.time.Duration |
getRequestExpiry() |
ContainerPlacementMessage.StatusCode |
getStatusCode() |
long |
getTimestamp() |
java.util.UUID |
getUuid() |
int |
hashCode() |
protected final java.util.UUID uuid
protected final java.lang.String deploymentId
protected final java.lang.String processorId
protected final java.lang.String destinationHost
protected final java.time.Duration requestExpiry
protected final ContainerPlacementMessage.StatusCode statusCode
protected final long timestamp
protected ContainerPlacementMessage(java.util.UUID uuid, java.lang.String deploymentId, java.lang.String processorId, java.lang.String destinationHost, java.time.Duration requestExpiry, ContainerPlacementMessage.StatusCode statusCode, long timestamp)
protected ContainerPlacementMessage(java.util.UUID uuid, java.lang.String deploymentId, java.lang.String processorId, java.lang.String destinationHost, ContainerPlacementMessage.StatusCode statusCode, long timestamp)
public java.lang.String getDeploymentId()
public java.lang.String getProcessorId()
public java.lang.String getDestinationHost()
public ContainerPlacementMessage.StatusCode getStatusCode()
public java.time.Duration getRequestExpiry()
public java.util.UUID getUuid()
public long getTimestamp()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object