public class WorkerServiceEntity extends DefaultServiceEntity
mLock, mNeedReconnect, mRevision, mServiceEntityName
Constructor and Description |
---|
WorkerServiceEntity()
CTOR for WorkerServiceEntity.
|
WorkerServiceEntity(WorkerNetAddress addr)
CTOR for WorkerServiceEntity with given WorkerNetAddress.
|
Modifier and Type | Method and Description |
---|---|
void |
deserialize(byte[] buf)
Deserialize the ServiceEntity from bytes.
|
boolean |
equals(Object o) |
WorkerNetAddress |
getWorkerNetAddress()
Get WorkerNetAddress field.
|
int |
hashCode() |
String |
toString() |
close, getKeepAliveClient, getLease, getLeaseTimeoutInSec, getLeaseTTLInSec, getRevisionNumber, getServiceEntityName, serialize, setKeepAliveClient, setLease, setLeaseTimeoutInSec, setLeaseTTLInSec, setRevisionNumber
public WorkerServiceEntity()
public WorkerServiceEntity(WorkerNetAddress addr)
addr
- public WorkerNetAddress getWorkerNetAddress()
public void deserialize(byte[] buf)
DefaultServiceEntity
deserialize
in class DefaultServiceEntity
Copyright © 2023. All Rights Reserved.