Class CoherenceServer

java.lang.Object
com.oracle.coherence.spring.CoherenceServer
All Implemented Interfaces:
Aware, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle

public class CoherenceServer extends Object implements InitializingBean, SmartLifecycle, ApplicationContextAware
Responsible for starting the default Coherence instance.
Since:
3.0
Author:
Gunnar Hillert
  • Field Details

    • DEFAULT_STARTUP_TIMEOUT_MILLIS

      public static final long DEFAULT_STARTUP_TIMEOUT_MILLIS
      Start up default of 60 seconds.
      See Also:
    • STARTUP_TIMEOUT_SYSTEM_PROPERTY

      public static final String STARTUP_TIMEOUT_SYSTEM_PROPERTY
      Start up default of 60 seconds.
      See Also:
  • Constructor Details

    • CoherenceServer

      public CoherenceServer(com.tangosol.net.Coherence coherence)
      Create a CoherenceServer.
      Parameters:
      coherence - the Coherence instance to run
    • CoherenceServer

      public CoherenceServer(com.tangosol.net.Coherence coherence, Duration startupTimeout)
      Create a CoherenceServer with a startup timeout.
      Parameters:
      coherence - the Coherence instance to run
      startupTimeout - specifies the time within which the Coherence instance needs to start up. If not set defaults to 300000L or to what the system property "coherence.spring.server.startup-timeout-millis" specifies
  • Method Details