Package org.jgroups.protocols
Class FILE_PING.InfoWriter
- java.lang.Object
- 
- org.jgroups.protocols.FILE_PING.InfoWriter
 
- 
- All Implemented Interfaces:
- java.lang.Runnable,- TimeScheduler.Task
 - Enclosing class:
- FILE_PING
 
 protected class FILE_PING.InfoWriter extends java.lang.Object implements TimeScheduler.Task Class which calls writeAll() a few times. Started after a view change in which an old coord left
- 
- 
Field SummaryFields Modifier and Type Field Description protected intmax_writesprotected intnum_writesprotected longsleep_interval
 - 
Constructor SummaryConstructors Constructor Description InfoWriter(int max_writes, long sleep_interval)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longnextInterval()voidrun()
 
- 
- 
- 
Method Detail- 
nextIntervalpublic long nextInterval() - Specified by:
- nextIntervalin interface- TimeScheduler.Task
- Returns:
- the next scheduled interval in ms. If <= 0 the task will not be re-scheduled
 
 - 
runpublic void run() - Specified by:
- runin interface- java.lang.Runnable
 
 
- 
 
-