Package org.flasby.net.heartbeat
Class Heartbeater<T>
java.lang.Object
org.flasby.net.heartbeat.Heartbeater<T>
sends heartbeat messages out when required.
- Author:
- steve
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
controls the beating of the heartbeat.static enum
static interface
-
Constructor Summary
ConstructorsConstructorDescriptionHeartbeater
(Heartbeater.Policy policy, long period, TimeUnit timeUnit) Heartbeater
(Heartbeater.Policy policy, long period, TimeUnit timeUnit, ThreadFactory threadFactory) -
Method Summary
-
Constructor Details
-
Heartbeater
-
Heartbeater
public Heartbeater(Heartbeater.Policy policy, long period, TimeUnit timeUnit, ThreadFactory threadFactory)
-
-
Method Details
-
beat
-