|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.shirako.kernel.AuthorityPolicyRecoverer
public class AuthorityPolicyRecoverer
| Field Summary | |
|---|---|
protected IAuthority |
actor
Actor the mapper belongs to. |
protected ReservationSet |
closing
A set of reservations to be closed after recovery. |
protected ReservationSet |
extending
A set of reservations to be serviced for extension after recovery. |
protected LoggingTool |
logger
Logger. |
protected IAuthorityPolicy |
policy
Mapper to be recovered. |
protected ReservationSet |
redeeming
A set of reservations to be serviced for redeeming after recovery. |
| Constructor Summary | |
|---|---|
AuthorityPolicyRecoverer(IAuthorityPolicy mapper,
IAuthority actor)
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected void |
issueClosing()
|
protected void |
issueExtending()
|
protected void |
issueRedeeming()
|
protected java.lang.String |
printState(IReservation res)
|
void |
reset()
Post-recovery entry point |
protected void |
restartActions(AuthorityReservation r)
|
void |
revisit(ResourceReservation reservation)
Reset/restore interface. |
protected void |
revisitActive(AuthorityReservation r)
|
protected void |
revisitAgent(BrokerReservation r)
|
protected void |
revisitAuthority(AuthorityReservation r)
|
protected void |
revisitClient(ReservationClient r)
|
protected void |
revisitTicketed(AuthorityReservation r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IAuthorityPolicy policy
protected IAuthority actor
protected LoggingTool logger
protected ReservationSet closing
protected ReservationSet redeeming
protected ReservationSet extending
| Constructor Detail |
|---|
public AuthorityPolicyRecoverer(IAuthorityPolicy mapper,
IAuthority actor)
mapper - mapper to recoveractor - actor the mapper belongs to| Method Detail |
|---|
public void revisit(ResourceReservation reservation)
throws java.lang.Exception
reservation - the reservation
java.lang.Exceptionprotected java.lang.String printState(IReservation res)
protected void revisitAuthority(AuthorityReservation r)
throws java.lang.Exception
java.lang.Exception
protected void revisitClient(ReservationClient r)
throws java.lang.Exception
java.lang.Exception
protected void revisitAgent(BrokerReservation r)
throws java.lang.Exception
java.lang.Exception
protected void revisitTicketed(AuthorityReservation r)
throws java.lang.Exception
java.lang.Exception
protected void revisitActive(AuthorityReservation r)
throws java.lang.Exception
java.lang.Exception
protected void restartActions(AuthorityReservation r)
throws java.lang.Exception
java.lang.Exception
public void reset()
throws java.lang.Exception
java.lang.Exceptionprotected void issueClosing()
protected void issueRedeeming()
protected void issueExtending()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||