@Immutable
public class FunctionEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BINARY_NAME |
static java.lang.String |
BYTE_CODE |
static java.lang.String |
ID |
static java.lang.String |
REGISTERED_AT |
Constructor and Description |
---|
FunctionEntry(java.lang.String id,
java.lang.String binaryName,
byte[] byteCode,
long registeredAt) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this object.
|
static FunctionEntry |
from(FunctionRegistrationRequest request) |
java.lang.String |
getBinaryName()
Returns the binary name of the
FunctionEntry . |
byte[] |
getByteCode()
Returns the bytecode of the function contained in the
FunctionEntry . |
java.lang.String |
getId()
Returns the id of the
FunctionEntry . |
long |
getRegisteredAt()
Returns the registered at time of the
FunctionEntry . |
int |
hashCode()
Returns a hash code value for the object.
|
public static final java.lang.String ID
public static final java.lang.String BINARY_NAME
public static final java.lang.String BYTE_CODE
public static final java.lang.String REGISTERED_AT
public FunctionEntry(java.lang.String id, java.lang.String binaryName, byte[] byteCode, long registeredAt)
public java.lang.String getId()
FunctionEntry
.FunctionEntry
public java.lang.String getBinaryName()
FunctionEntry
.FunctionEntry
public byte[] getByteCode()
FunctionEntry
.FunctionEntry
public long getRegisteredAt()
FunctionEntry
.FunctionEntry
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
FunctionEntry
and both instances have the same
equals
in class java.lang.Object
o
- an object to be tested for equalitytrue
if the other object is "equal to" this object otherwise false
public static FunctionEntry from(FunctionRegistrationRequest request)