com.bigdata.service
Interface IServiceShutdown.Options

All Known Subinterfaces:
ConcurrencyManager.Options, DataServer.Options, DataService.Options, EmbeddedClient.Options, Journal.Options, LocalDataServiceClient.Options, MetadataServer.Options, MetadataService.Options, OverflowManager.Options, ResourceManager.Options
Enclosing interface:
IServiceShutdown

public static interface IServiceShutdown.Options

Options for IServiceShutdown implementations.

Version:
$Id: IServiceShutdown.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static String DEFAULT_SHUTDOWN_TIMEOUT
          The default timeout (0).
static String SHUTDOWN_TIMEOUT
          The maximum time in milliseconds that IServiceShutdown.shutdown() should wait termination of the various services -or- ZERO (0) to wait forever (default is to wait forever).
 

Field Detail

SHUTDOWN_TIMEOUT

static final String SHUTDOWN_TIMEOUT
The maximum time in milliseconds that IServiceShutdown.shutdown() should wait termination of the various services -or- ZERO (0) to wait forever (default is to wait forever).

Note: since services will continue to execute tasks that are already running but SHOULD NOT accept queued tasks once shutdown begins, this primarily effects whether or not tasks that are already executing will be allowed to run until completion.

Note: You can use IServiceShutdown.shutdownNow() to terminate the service immediately.

See Also:
DEFAULT_SHUTDOWN_TIMEOUT

DEFAULT_SHUTDOWN_TIMEOUT

static final String DEFAULT_SHUTDOWN_TIMEOUT
The default timeout (0).

See Also:
Constant Field Values


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.