public class ResultPartitionLocation extends Object implements Serializable
The location indicates both the instance, on which the partition is produced and the state of the producing task. There are three possibilities:
Modifier and Type | Method and Description |
---|---|
static ResultPartitionLocation |
createLocal() |
static ResultPartitionLocation |
createRemote(ConnectionID connectionId) |
static ResultPartitionLocation |
createUnknown() |
ConnectionID |
getConnectionId() |
boolean |
isLocal() |
boolean |
isRemote() |
boolean |
isUnknown() |
String |
toString() |
public static ResultPartitionLocation createRemote(ConnectionID connectionId)
public static ResultPartitionLocation createLocal()
public static ResultPartitionLocation createUnknown()
public boolean isLocal()
public boolean isRemote()
public boolean isUnknown()
public ConnectionID getConnectionId()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.