Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.net
Class RefreshableAddressProvider.RefreshThread

    java.lang.Object
      com.tangosol.util.Base
          com.tangosol.util.Daemon
              com.tangosol.net.RefreshableAddressProvider.RefreshThread

All Implemented Interfaces:
  Guardable, java.lang.Runnable

Enclosing class:
  RefreshableAddressProvider

    protected class RefreshableAddressProvider.RefreshThread

extends Daemon

Nested Class Summary

Nested classes/interfaces inherited from class com.tangosol.util.Daemon
`Daemon.DaemonWorker`

Field Summary
`protected long` | `m_lRefresh` The interval with which to attempt to refresh the address list.

Constructor Summary
`protected` | `RefreshableAddressProvider.RefreshThread(long lRefresh)` Construct a new RefreshThread with the specified refresh interval.

Method Summary
`void` | `run()` The daemon's implementation method.

Methods inherited from class com.tangosol.util.Daemon
`changeState, configureWorker, finishStarting, getConfiguredName, getConfiguredPriority, getDescription, getGuardContext, getGuardRegisterAction, getMaxWaitMillis, getState, getThread, getThreadContextClassLoader, getWorker, guardIfNeeded, heartbeat, heartbeat, instantiateWorker, isGuarded, isOnWorkerThread, isRunning, isStopping, recover, setConfiguredName, setConfiguredPriority, setContext, setGuardPolicy, setGuardRegisterAction, setThreadContextClassLoader, start, stop, terminate, toStateString, toString`

Field Detail

### m_lRefresh

    protected final long m_lRefresh

  The interval with which to attempt to refresh the address list.

Constructor Detail

### RefreshableAddressProvider.RefreshThread

    protected RefreshableAddressProvider.RefreshThread(long lRefresh)

  Construct a new RefreshThread with the specified refresh interval.

  Parameters:
    `lRefresh` - the refresh interval

Method Detail

### run

    public void run()

  The daemon's implementation method. Override this method to implement a daemon.

  An example implementation is:

  ``

         while (!isStopping())
             {
             // do some processing
             // ...

             synchronized (this)
                 {
                 // wait for notification of more work
                 wait();
                 }
             }

  Specified by:
    `run` in interface `java.lang.Runnable`
  Specified by:
    `run` in class `Daemon`

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.