Package edu.sc.seis.sod
Class WaveformWorkUnit
- java.lang.Object
-
- edu.sc.seis.sod.WaveformWorkUnit
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
AbstractEventPair
public abstract class WaveformWorkUnit extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected long
dbid
static org.slf4j.Logger
failLogger
protected java.sql.Timestamp
lastQuery
protected int
numRetries
-
Constructor Summary
Constructors Modifier Constructor Description protected
WaveformWorkUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getDbid()
java.sql.Timestamp
getLastQuery()
int
getNumRetries()
int
hashCode()
protected void
setDbid(long dbid)
protected void
setLastQuery(java.sql.Timestamp lastQuery)
protected void
setNumRetries(int numRetries)
void
updateRetries()
-
-
-
Method Detail
-
updateRetries
public void updateRetries()
-
getDbid
public long getDbid()
-
setDbid
protected void setDbid(long dbid)
-
getNumRetries
public int getNumRetries()
-
setNumRetries
protected void setNumRetries(int numRetries)
-
getLastQuery
public java.sql.Timestamp getLastQuery()
-
setLastQuery
protected void setLastQuery(java.sql.Timestamp lastQuery)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-