tapestry.ptr.impl
Class HashPtrDbStage

java.lang.Object
  |
  +--ostore.util.StandardStage
        |
        +--tapestry.ptr.impl.HashPtrDbStage
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class HashPtrDbStage
extends StandardStage
implements SingleThreadedEventHandlerIF

HashPtrDbStage is the implementation of the Ptr DB API in the most simple way, by keeping all pointers in in-memory hash-tables.

Version:
$Id: HashPtrDbStage.java,v 1.1.1.1 2004/03/26 19:57:11 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
protected  boolean _initialized
          Registered with all local stages have been initialized
protected static long appId
          Unique identifier for this stage.
 
Fields inherited from class ostore.util.StandardStage
classifier, DEBUG, event_types, inb_msg_types, my_node_id, my_sink, outb_msg_types, tag
 
Constructor Summary
HashPtrDbStage()
          Constructor: Creates a new HashPtrDbStage stage.
 
Method Summary
 void handleEvent(QueueElementIF item)
          Specified by seda.sandStorm.api.EventHandlerIF
 void init(ConfigDataIF config)
          Specified by seda.sandStorm.api.EventHandlerIF
 
Methods inherited from class ostore.util.StandardStage
BUG, destroy, dispatch, enqueue, handleEvents, now_ms, now_us
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appId

protected static final long appId
Unique identifier for this stage.


_initialized

protected boolean _initialized
Registered with all local stages have been initialized

Constructor Detail

HashPtrDbStage

public HashPtrDbStage()
               throws Exception
Constructor: Creates a new HashPtrDbStage stage.

Method Detail

init

public void init(ConfigDataIF config)
          throws Exception
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
init in interface EventHandlerIF
Overrides:
init in class StandardStage
Exception

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException