public class DefaultLinkInfo extends Object implements LinkInfo, Distributable, Serializable
LinkInfo
.Constructor and Description |
---|
DefaultLinkInfo(Link.Type type)
Constructor for LinkInfo
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
long |
ts()
Returns the timestamp this link was last detected.
|
protected void |
ts(long timestamp) |
Link.Type |
type()
Returns the link
Link.Type |
void |
updateTs() |
public DefaultLinkInfo(Link.Type type)
type
- type to assign to the LinkInfopublic long ts()
LinkInfo
protected void ts(long timestamp)
public void updateTs()
Copyright © 2016. All Rights Reserved.