Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sosc::Hillock Class Reference

List of all members.

Static Public Methods

void startPath (String name)
void endPath ()
void startNode (String name)
void endNode ()
void node (String name)
HashMap local ()
DbTool db () throws Exception
String jdbcDriverClass ()
String jdbcURL ()
String jdbcUserName ()
String jdbcPassword ()

Static Private Attributes

final Logger logger = Logger.getLogger("net.threebit.utils.sosc")
boolean enabled = true
final ThreadLocal threadLocal = new ThreadLocal()
final LinkedList workQueue = new LinkedList()

Detailed Description

Central management class for the entire Hillock tool chain.

Definition at line 29 of file Hillock.java.


Member Function Documentation

DbTool sosc::Hillock::db   throws Exception [inline, static]
 

Returns an instance of DbTool that is already connected to the Hillock database.

Definition at line 304 of file Hillock.java.

References sosc::Hillock::jdbcDriverClass(), sosc::Hillock::jdbcPassword(), sosc::Hillock::jdbcURL(), and sosc::Hillock::jdbcUserName().

void sosc::Hillock::endNode   [inline, static]
 

Definition at line 171 of file Hillock.java.

References sosc::Hillock::enabled, sosc::Hillock::local(), and sosc::Hillock::node().

Referenced by sosc::Hillock::node().

void sosc::Hillock::endPath   [inline, static]
 

Definition at line 76 of file Hillock.java.

References sosc::Hillock::enabled, sosc::Hillock::local(), and sosc::Hillock::workQueue.

Referenced by sosc::Hillock::startPath().

String sosc::Hillock::jdbcDriverClass   [inline, static]
 

Accessor shorthand to System.getProperty()

Definition at line 309 of file Hillock.java.

Referenced by sosc::Hillock::db().

String sosc::Hillock::jdbcPassword   [inline, static]
 

Accessor shorthand to System.getProperty()

Definition at line 318 of file Hillock.java.

Referenced by sosc::Hillock::db().

String sosc::Hillock::jdbcURL   [inline, static]
 

Accessor shorthand to System.getProperty()

Definition at line 312 of file Hillock.java.

Referenced by sosc::Hillock::db().

String sosc::Hillock::jdbcUserName   [inline, static]
 

Accessor shorthand to System.getProperty()

Definition at line 315 of file Hillock.java.

Referenced by sosc::Hillock::db().

HashMap sosc::Hillock::local   [inline, static]
 

Definition at line 216 of file Hillock.java.

References sosc::Hillock::threadLocal.

Referenced by sosc::Hillock::endNode(), sosc::Hillock::endPath(), sosc::Hillock::startNode(), and sosc::Hillock::startPath().

void sosc::Hillock::node String    name [inline, static]
 

Alias for: startNode(name); endNode()

Definition at line 208 of file Hillock.java.

References sosc::Hillock::endNode(), and sosc::Hillock::startNode().

Referenced by sosc::Hillock::endNode(), and sosc::Hillock::startNode().

void sosc::Hillock::startNode String    name [inline, static]
 

Definition at line 110 of file Hillock.java.

References sosc::Hillock::enabled, sosc::Hillock::local(), and sosc::Hillock::node().

Referenced by sosc::Hillock::node().

void sosc::Hillock::startPath String    name [inline, static]
 

Starts a new hillock path. If a path is currently open then it is closed automatically.

Returns:
The id of the new path, or 0 if the path data id could not be determined right away. The path will still be created (maybe), but the id is not known at this time.

Definition at line 57 of file Hillock.java.

References sosc::Hillock::enabled, sosc::Hillock::endPath(), and sosc::Hillock::local().


Member Data Documentation

boolean sosc::Hillock::enabled = true [static, private]
 

Definition at line 39 of file Hillock.java.

Referenced by sosc::Hillock::endNode(), sosc::Hillock::endPath(), sosc::Hillock::startNode(), and sosc::Hillock::startPath().

final Logger sosc::Hillock::logger = Logger.getLogger("net.threebit.utils.sosc") [static, private]
 

Definition at line 34 of file Hillock.java.

final ThreadLocal sosc::Hillock::threadLocal = new ThreadLocal() [static, private]
 

Contains a generic Map that contains information about each calling thread (current path, node(s), etc).

Definition at line 45 of file Hillock.java.

Referenced by sosc::Hillock::local().

final LinkedList sosc::Hillock::workQueue = new LinkedList() [static, private]
 

Definition at line 50 of file Hillock.java.

Referenced by sosc::Hillock::endPath().


The documentation for this class was generated from the following file:
Generated on Mon Jul 14 17:19:22 2003 for SOSC by doxygen1.2.15