public final class Address
extends java.lang.Object
Address
is the unique identity of an individual StatefulFunction
, containing
of the function's TypeName
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(TypeName 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() |
TypeName |
type()
Returns the
TypeName that this address identifies. |
public TypeName type()
TypeName
that this address identifies.public java.lang.String id()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.