ostore.archive
Class TputGenerateChkptTest
java.lang.Object
|
+--ostore.archive.TputGenerateChkptTest
- All Implemented Interfaces:
- EventHandlerIF, SingleThreadedEventHandlerIF
- public class TputGenerateChkptTest
- extends Object
- implements SingleThreadedEventHandlerIF, EventHandlerIF
TODO
- Version:
- $Id: TputGenerateChkptTest.java,v 1.8 2004/05/13 20:13:06 hweather Exp $
- Author:
- Sean C. Rhea & Jeremy Stribling
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
protected String TAG
DEBUG
protected static final boolean DEBUG
- See Also:
- Constant Field Values
this_sink
protected SinkIF this_sink
netsink
protected SinkIF netsink
start_time
protected long start_time
classifier
protected Classifier classifier
node_id
protected NodeId node_id
_self_guid
protected SecureHash _self_guid
_principal_guid
protected SecureHash _principal_guid
TputGenerateChkptTest
public TputGenerateChkptTest()
init
public void init(ConfigDataIF config)
throws Exception
- Specified by:
init
in interface EventHandlerIF
Exception
handleEvent
public void handleEvent(QueueElementIF item)
throws EventHandlerException
- Specified by:
handleEvent
in interface EventHandlerIF
EventHandlerException
handleEvents
public void handleEvents(QueueElementIF[] items)
throws EventHandlerException
- Specified by:
handleEvents
in interface EventHandlerIF
EventHandlerException
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface EventHandlerIF
Exception
init_object
protected void init_object(int object_num)
handle_update_result
protected void handle_update_result(UpdateResult resp)
fill_queue
protected void fill_queue()
got_msg
protected void got_msg(GenerateFragsChkptResp msg)
executeRemoveGuids
public static void executeRemoveGuids(CacheableIdentity topBlockId,
TputGenerateChkptTest.RemoveGuidsHelper helper,
HandleStore handleStore,
DataCache cache,
String method,
String stageName,
SecureHash self_guid,
NodeId node_id)
executeRemoveGuids
removes all guids from all blocks
named by the topBlockId.
- Parameters:
topBlockId
- CacheableIdentity of the top block.helper
- RemoveGuidHelper to assist in removing guids.handleStore
- store to hold pins (CacheablePinned).