com.bigdata.jini.start.config
Interface ServiceConfiguration.Options

All Known Subinterfaces:
BigdataServiceConfiguration.Options, JavaServiceConfiguration.Options, JiniCoreServicesConfiguration.Options, JiniServiceConfiguration.Options, ManagedServiceConfiguration.Options, ServicesManagerConfiguration.Options, ZookeeperServerConfiguration.Options
Enclosing class:
ServiceConfiguration

public static interface ServiceConfiguration.Options

Options understood by ServiceConfiguration.

Version:
$Id$
Author:
Bryan Thompson

Field Summary
static String ARGS
          Command line arguments represented as a String[] that will be included in the command line before any service specific command line arguments when a command is executed to start a new service instance.
static String CONSTRAINTS
          Constraints on where a service may be instantiated.
static String NAMESPACE
          Namespace for these options.
static String OPTIONS
          Service options represented as a String[] that will be added at the end of the command line when starting a new service instance.
static String REPLICATION_COUNT
          The #of physical instances of the service which should be maintained for a given logical instance.
static String SERVICE_COUNT
          The #of logical instances of the services type that should be maintained.
static String SERVICE_DIR
          The base directory for the persistent state service instances.
static String TIMEOUT
          The timeout in milliseconds for an instance of the service to start (the default is dependent on the service type).
 

Field Detail

NAMESPACE

static final String NAMESPACE
Namespace for these options.


ARGS

static final String ARGS
Command line arguments represented as a String[] that will be included in the command line before any service specific command line arguments when a command is executed to start a new service instance.

Note: This option MAY NOT be used for a global default but only for a specific ServiceConfiguration (there are no possible arguments that make sense for all processes).

See Also:
Constant Field Values

OPTIONS

static final String OPTIONS
Service options represented as a String[] that will be added at the end of the command line when starting a new service instance.

Note: This option MAY NOT be used for a global default but only for a specific ServiceConfiguration (there are no possible arguments that make sense for all processes).

See Also:
Constant Field Values

SERVICE_DIR

static final String SERVICE_DIR
The base directory for the persistent state service instances. Services are normally started in a subdirectory path reflecting the service type, the logical service instance, and the physical service instance.

See Also:
Constant Field Values

SERVICE_COUNT

static final String SERVICE_COUNT
The #of logical instances of the services type that should be maintained. The ServicesManagerServer will attempt to maintain this many instances of the logical service.

See Also:
Constant Field Values

REPLICATION_COUNT

static final String REPLICATION_COUNT
The #of physical instances of the service which should be maintained for a given logical instance. If the service is comprised of peers, like zookeeper or jini, then this value MUST be ONE (1) and you will specify the #of peers as the SERVICE_COUNT. If the service supports a failover chain with a master and secondaries then this value may be one or more.

See Also:
Constant Field Values

CONSTRAINTS

static final String CONSTRAINTS
Constraints on where a service may be instantiated.

See Also:
IServiceConstraint, Constant Field Values

TIMEOUT

static final String TIMEOUT
The timeout in milliseconds for an instance of the service to start (the default is dependent on the service type).

See Also:
Constant Field Values


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