public final class Address
extends java.lang.Object
Address is the unique identity of an individual StatefulFunction, containing
of the function's FunctionType and an unique identifier within the type. The function's
type denotes the class of function to invoke, while the unique identifier addresses the
invocation to a specific function instance.| Constructor and Description |
|---|
Address(FunctionType type,
java.lang.String id)
Creates an
Address. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
id()
Returns the unique function id, within its type, that this address identifies.
|
java.lang.String |
toString() |
FunctionType |
type()
Returns the
FunctionType that this address identifies. |
public Address(FunctionType type, java.lang.String id)
Address.type - type of the function.id - unique id within the function type.public FunctionType type()
FunctionType that this address identifies.public java.lang.String id()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.