Package edu.sc.seis.sod
Class QueryTime
java.lang.Object
edu.sc.seis.sod.QueryTime
public class QueryTime
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected int
dbid
protected java.lang.String
serverName
protected java.time.Instant
time
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description long
delayMillisUntilNextRefresh(java.time.Duration refreshInterval)
boolean
equals(java.lang.Object o)
int
getDbid()
java.lang.String
getServerName()
java.time.Instant
getTime()
int
hashCode()
boolean
needsRefresh(java.time.Duration refreshInterval)
protected void
setDbid(int dbid)
protected void
setServerName(java.lang.String serverName)
void
setTime(java.time.Instant time)
-
Field Details
-
dbid
protected int dbid -
serverName
protected java.lang.String serverName -
time
protected java.time.Instant time
-
-
Constructor Details
-
Method Details
-
needsRefresh
public boolean needsRefresh(java.time.Duration refreshInterval) -
getDbid
public int getDbid() -
getServerName
public java.lang.String getServerName() -
getTime
public java.time.Instant getTime() -
setDbid
protected void setDbid(int dbid) -
setServerName
protected void setServerName(java.lang.String serverName) -
setTime
public void setTime(java.time.Instant time) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
delayMillisUntilNextRefresh
public long delayMillisUntilNextRefresh(java.time.Duration refreshInterval)
-