set the period between repeated task executions , in milliseconds . default is -1 , leading to one-time execution . in case of a positive value , the task will be executed repeatedly , with the given interval inbetween executions . note that the semantics of the period value vary between fixed-rate and fixed-delay execution . note : a period of 0 for example as fixed delay is not supported , simply because java.util.concurrent.scheduledexecutorservice itselfdoes not support it . hence a value of 0 will be treated as one-time execution ; however , that value should never be specified explicitly in the first place ! concode_field_sep Runnable runnable concode_elem_sep long period concode_elem_sep boolean fixedRate concode_elem_sep long delay concode_elem_sep TimeUnit timeUnit concode_field_sep boolean isFixedRate concode_elem_sep void setTimeUnit concode_elem_sep long getDelay concode_elem_sep Runnable getRunnable concode_elem_sep boolean isOneTimeTask concode_elem_sep void setFixedRate concode_elem_sep void setRunnable concode_elem_sep void setDelay concode_elem_sep long getPeriod concode_elem_sep TimeUnit getTimeUnit
void function ( long arg0 ) { this . period = arg0 ; }