@Entity public class NodeRegistrationImpl extends Object implements NodeRegistration
Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected Long |
id |
protected Date |
maxEventDate |
protected Date |
updated |
protected String |
workerType |
Constructor and Description |
---|
NodeRegistrationImpl() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
The date this node was first created.
|
Long |
getId() |
Date |
getMaxEventDate()
The maximum date of an event that this node has processed
|
Date |
getUpdated()
The last time this node participated in a hearbeat check.
|
EventWorkerType |
getWorkerType()
The type of node.
|
void |
setCreated(Date created) |
void |
setId(Long id) |
void |
setMaxEventDate(Date maxEventDate) |
void |
setUpdated(Date updated) |
void |
setWorkerType(EventWorkerType workerType) |
protected Long id
protected String workerType
protected Date updated
protected Date maxEventDate
protected Date created
public Long getId()
getId
in interface NodeRegistration
public void setId(Long id)
setId
in interface NodeRegistration
public Date getMaxEventDate()
NodeRegistration
getMaxEventDate
in interface NodeRegistration
public void setMaxEventDate(Date maxEventDate)
setMaxEventDate
in interface NodeRegistration
public Date getUpdated()
NodeRegistration
getUpdated
in interface NodeRegistration
public void setUpdated(Date updated)
setUpdated
in interface NodeRegistration
public EventWorkerType getWorkerType()
NodeRegistration
EventWorkerType
getWorkerType
in interface NodeRegistration
public void setWorkerType(EventWorkerType workerType)
setWorkerType
in interface NodeRegistration
public Date getCreated()
NodeRegistration
getCreated
in interface NodeRegistration
public void setCreated(Date created)
setCreated
in interface NodeRegistration
Copyright © 2019. All rights reserved.