@Immutable public class ComputationDoneName extends Object
Constructor and Description |
---|
ComputationDoneName(int workerId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static ComputationDoneName |
fromName(String name)
Create this object from a name (if possible).
|
String |
getName() |
int |
getWorkerId() |
static boolean |
isName(String name)
Is this string a ComputationDoneName?
|
public ComputationDoneName(int workerId)
workerId
- Unique worker idpublic int getWorkerId()
public String getName()
public static final ComputationDoneName fromName(String name)
name
- Name to parsepublic static final boolean isName(String name)
name
- Name to checkCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.