- java.lang.Object
-
- swim.concurrent.ClockDef
-
- All Implemented Interfaces:
Debug
,ScheduleDef
public class ClockDef extends Object implements ScheduleDef, Debug
-
-
Constructor Summary
Constructors Constructor Description ClockDef(int tickMillis, int tickCount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Form<ClockDef>
clockForm()
protected ClockDef
copy(int tickMillis, int tickCount)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
static ClockDef
standard()
int
tickCount()
ClockDef
tickCount(int tickCount)
int
tickMillis()
ClockDef
tickMillis(int tickMillis)
String
toString()
-
-
-
Method Detail
-
tickMillis
public final int tickMillis()
-
tickMillis
public ClockDef tickMillis(int tickMillis)
-
tickCount
public final int tickCount()
-
tickCount
public ClockDef tickCount(int tickCount)
-
copy
protected ClockDef copy(int tickMillis, int tickCount)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
standard
public static ClockDef standard()
-
-