i3.dragos.core.runmode
Class SystemRunModeSwitches

java.lang.Object
  extended by i3.dragos.core.runmode.SystemRunModeSwitches

public final class SystemRunModeSwitches
extends java.lang.Object

This class defines system-wide switches for the RunModeController module. For each switch, two constants are provided: An identifier (*_ID) used for reservation checks etc, and a value (*_VALUE) used for run mode setting. The value v is derived from its according identifier i using v = 1 << i. Although the identifier may be used in the RunMode class for the same purposes, the value constants are stored to avoid continous re-calculation.

Author:
Erhard Weinell <Weinell@cs.rwth-aachen.de>

Field Summary
static byte DEFERRED_GP_CHECK_ID
          If set, graph pool checks are deferred so that a minimal count of invocations are necessary.
static int DEFERRED_GP_CHECK_VALUE
          value for DEFERRED_GP_CHECK_ID
static byte DISABLE_GP_CHECK_ID
          If set, no consistency checks are performed by dragos.
static int DISABLE_GP_CHECK_VALUE
          value for DISABLE_GP_CHECK_ID
static byte GPLOCAL_OPERATIONS_ID
          If set, the user ensures that all graph operations (including node comparisons etc.) are performed on a single graph pool, even if there are multiple ones in use.
static int GPLOCAL_OPERATIONS_VALUE
          value for GPLOCAL_OPERATIONS_VALUE
static int PREFERRED_SWITCHES_VALUE
          predefined setting combining UNCHECKED_ATTRIBUTE_VALUE , DEFERRED_GP_CHECK_VALUE , UNCHECKED_GEC_VALUE , UNCHECKED_GE_VALUE.
static byte UNCHECKED_ATTRIBUTE_ID
          If set, no attribute check is performed by the graph pool, assuming operations are performed on adequatly defined attributes only.
static int UNCHECKED_ATTRIBUTE_VALUE
          value for UNCHECKED_ATTRIBUTE_ID
static byte UNCHECKED_GE_ID
          If set, no existence checks will be performed for graph entities by the graph pool.
static int UNCHECKED_GE_VALUE
          value for UNCHECKED_GE_ID
static byte UNCHECKED_GEC_ID
          If set, no existence checks will be performed for graph entity classes by the schema.
static int UNCHECKED_GEC_VALUE
          value for UNCHECKED_GEC_ID
 
Constructor Summary
SystemRunModeSwitches()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLE_GP_CHECK_ID

public static final byte DISABLE_GP_CHECK_ID
If set, no consistency checks are performed by dragos. This switch really disables ALL schema checks, use with GREAT care.

See Also:
Constant Field Values

DISABLE_GP_CHECK_VALUE

public static final int DISABLE_GP_CHECK_VALUE
value for DISABLE_GP_CHECK_ID

See Also:
Constant Field Values

GPLOCAL_OPERATIONS_ID

public static final byte GPLOCAL_OPERATIONS_ID
If set, the user ensures that all graph operations (including node comparisons etc.) are performed on a single graph pool, even if there are multiple ones in use. As a result, DataSourceURL need not to be considered in comparison operations.

See Also:
Constant Field Values

GPLOCAL_OPERATIONS_VALUE

public static final int GPLOCAL_OPERATIONS_VALUE
value for GPLOCAL_OPERATIONS_VALUE

See Also:
Constant Field Values

UNCHECKED_ATTRIBUTE_ID

public static final byte UNCHECKED_ATTRIBUTE_ID
If set, no attribute check is performed by the graph pool, assuming operations are performed on adequatly defined attributes only.

See Also:
Constant Field Values

UNCHECKED_ATTRIBUTE_VALUE

public static final int UNCHECKED_ATTRIBUTE_VALUE
value for UNCHECKED_ATTRIBUTE_ID

See Also:
Constant Field Values

DEFERRED_GP_CHECK_ID

public static final byte DEFERRED_GP_CHECK_ID
If set, graph pool checks are deferred so that a minimal count of invocations are necessary. With this option enabled, event listeners in immediate or deferred mode might work on inconsistent graphs.

See Also:
Constant Field Values

DEFERRED_GP_CHECK_VALUE

public static final int DEFERRED_GP_CHECK_VALUE
value for DEFERRED_GP_CHECK_ID

See Also:
Constant Field Values

UNCHECKED_GEC_ID

public static final byte UNCHECKED_GEC_ID
If set, no existence checks will be performed for graph entity classes by the schema.

See Also:
Constant Field Values

UNCHECKED_GEC_VALUE

public static final int UNCHECKED_GEC_VALUE
value for UNCHECKED_GEC_ID

See Also:
Constant Field Values

UNCHECKED_GE_ID

public static final byte UNCHECKED_GE_ID
If set, no existence checks will be performed for graph entities by the graph pool.

See Also:
Constant Field Values

UNCHECKED_GE_VALUE

public static final int UNCHECKED_GE_VALUE
value for UNCHECKED_GE_ID

See Also:
Constant Field Values

PREFERRED_SWITCHES_VALUE

public static final int PREFERRED_SWITCHES_VALUE
predefined setting combining UNCHECKED_ATTRIBUTE_VALUE , DEFERRED_GP_CHECK_VALUE , UNCHECKED_GEC_VALUE , UNCHECKED_GE_VALUE.

See Also:
Constant Field Values
Constructor Detail

SystemRunModeSwitches

public SystemRunModeSwitches()


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.