SK.gnome.dwarf
Class Constants

java.lang.Object
  extended bySK.gnome.dwarf.Constants
Direct Known Subclasses:
LogConstants, TCPIPConstants

public class Constants
extends java.lang.Object

Provides global system constants.


Field Summary
static int DEFAULT_CACHE_INTERVAL
          Cache expiration checking interval.
static int DEFAULT_CONSOLE_TIMEOUT
          Command prompt inactivity timeout.
static int DEFAULT_SHUTDOWN_TIMEOUT
          Service shutdown timeout.
static java.lang.String LS
          The system-default line separator.
static java.lang.String PLATFORM_DETAILS
          HW and SW platform details.
 
Constructor Summary
protected Constants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SHUTDOWN_TIMEOUT

public static final int DEFAULT_SHUTDOWN_TIMEOUT
Service shutdown timeout.

Specifies in seconds how long the shutdown process should wait for finishing the current service's operation before returning from the Service.shutdown() method.

Value: 15

See Also:
Constant Field Values

DEFAULT_CONSOLE_TIMEOUT

public static final int DEFAULT_CONSOLE_TIMEOUT
Command prompt inactivity timeout.

Specifies in seconds how long the console's interactive command prompt will wait for the user input. After the specified amount of time the console will deactivate the command prompt. It can be activated again by pressing the Enter key in the console window.

Value: 300

See Also:
Constant Field Values

DEFAULT_CACHE_INTERVAL

public static final int DEFAULT_CACHE_INTERVAL
Cache expiration checking interval. Specifies in seconds the interval of checking for an expired cache entries. It is used by the SK.gnome.dwarf.utils.cache package.

Value: 15

See Also:
Constant Field Values

LS

public static final java.lang.String LS
The system-default line separator.

It is set to the current value of "line.separator" system property.


PLATFORM_DETAILS

public static final java.lang.String PLATFORM_DETAILS
HW and SW platform details.

The string includes values of system properties "java.version", "os.name" and "os.arch".

Constructor Detail

Constants

protected Constants()


Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.