ostore.update
Class UpdateStage
java.lang.Object
|
+--ostore.update.UpdateStage
- All Implemented Interfaces:
- EventHandlerIF, ProfilableIF, SingleThreadedEventHandlerIF
- public class UpdateStage
- extends Object
- implements SingleThreadedEventHandlerIF, EventHandlerIF, ProfilableIF
The UpdateStage
is responsible for evaluating and
applying updates. The UpdateStage
receives
UpdateRequest
s from the InnerRing
and
returns UpdateResult
s to the InnerRing
.
It also manages any blocking cache operations caused by the
update.
- Version:
- $Id: UpdateStage.java,v 1.63 2004/05/13 20:17:22 hweather Exp $
- Author:
- Patrick R. Eaton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateStage
public UpdateStage()
handleEvent
public void handleEvent(QueueElementIF element)
throws EventHandlerException
- Specified by:
handleEvent
in interface EventHandlerIF
EventHandlerException
handleEvents
public void handleEvents(QueueElementIF[] element_array)
throws EventHandlerException
- Specified by:
handleEvents
in interface EventHandlerIF
EventHandlerException
init
public void init(ConfigDataIF config)
throws Exception
- Specified by:
init
in interface EventHandlerIF
Exception
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface EventHandlerIF
Exception
profileSize
public int profileSize()
- Specified by:
profileSize
in interface ProfilableIF
apply_update
public void apply_update(UpdateRequest request,
UpdateContinuation continuation)