com.threerings.presents.server
Interface RebootManager.PendingShutdownObserver

Enclosing class:
RebootManager

public static interface RebootManager.PendingShutdownObserver

An interface for receiving notifications about pending automated shutdowns.


Method Summary
 void shutdownPlanned(int warningsLeft, long msLeft)
          Called prior to an automated shutdown.
 

Method Detail

shutdownPlanned

void shutdownPlanned(int warningsLeft,
                     long msLeft)
Called prior to an automated shutdown. NOTE that the shutdown is not guaranteed to happen, this interface is merely for notification purposes.

Parameters:
warningsLeft - The number of warnings left prior to the shutdown. This value will be 0 on the last warning, usually 1-2 minutes prior to the actual shutdown.
msLeft - the approximate number of milliseconds left prior to the shutdown.