public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.logger.isTraceEnabled()) { tsLogger.logger.trace("ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000L) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }
public ReaperElement(Reapable control, int timeout) { if (tsLogger.arjLogger.isDebugEnabled()) { tsLogger.arjLogger.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_ATOMIC_ACTION, "ReaperElement::ReaperElement ( " + control + ", " + timeout + " )"); } _control = control; _timeout = timeout; _status = RUN; _worker = null; /* * Given a timeout period in seconds, calculate its absolute value from * the current time of day in milliseconds. */ _absoluteTimeoutMills = (timeout * 1000) + System.currentTimeMillis(); // add additional variation to distinguish instances created in the same millisecond. _bias = getBiasCounter(); }