@Entity public class RegisteredNodeImpl extends Object implements RegisteredNode
Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected String |
id |
protected String |
ipAddress |
protected Date |
maxEventDate |
protected Date |
updated |
protected String |
workerType |
Constructor and Description |
---|
RegisteredNodeImpl() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
The date this node was first created.
|
String |
getId()
A global unique UUID
|
String |
getIpAddress()
Get the ip address of the host that owns this registration.
|
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(String id) |
void |
setIpAddress(String ipAddress) |
void |
setMaxEventDate(Date maxEventDate) |
void |
setUpdated(Date updated) |
void |
setWorkerType(EventWorkerType workerType) |
protected String id
protected String workerType
protected Date updated
protected Date maxEventDate
protected Date created
protected String ipAddress
public String getId()
RegisteredNode
getId
in interface RegisteredNode
public void setId(String id)
setId
in interface RegisteredNode
public Date getMaxEventDate()
RegisteredNode
getMaxEventDate
in interface RegisteredNode
public void setMaxEventDate(Date maxEventDate)
setMaxEventDate
in interface RegisteredNode
public Date getUpdated()
RegisteredNode
getUpdated
in interface RegisteredNode
public void setUpdated(Date updated)
setUpdated
in interface RegisteredNode
public EventWorkerType getWorkerType()
RegisteredNode
EventWorkerType
getWorkerType
in interface RegisteredNode
public void setWorkerType(EventWorkerType workerType)
setWorkerType
in interface RegisteredNode
public Date getCreated()
RegisteredNode
getCreated
in interface RegisteredNode
public void setCreated(Date created)
setCreated
in interface RegisteredNode
public String getIpAddress()
RegisteredNode
getIpAddress
in interface RegisteredNode
DatabaseSystemEventNodeImpl.getHostIpAddress()
public void setIpAddress(String ipAddress)
setIpAddress
in interface RegisteredNode
Copyright © 2019. All rights reserved.