orca.shirako.kernel
Class ReservationStates

java.lang.Object
  extended by orca.shirako.kernel.ReservationStates

public class ReservationStates
extends java.lang.Object


Field Summary
static int AbsorbUpdate
           
static int Active
           
static int ActiveTicketed
           
static int Blocked
           
static int BlockedJoin
           
static int BlockedRedeem
           
static int Closed
           
static int CloseWait
           
static int Closing
           
static int ClosingJoining
           
static int ExtendingLease
           
static int ExtendingTicket
           
static int Failed
           
static int Joining
           
static java.lang.String[] joinstates
           
static int Nascent
          Reservation states (enum ReservationState) Should be protected: public just for logging
static int NoJoin
          Values for joinstate (service manager only).
static int None
          Pending operation states (enum ReservationPending) Should be protected: public just for logging
static java.lang.String[] pendings
           
static int Priming
           
static int Probing
           
static int Redeeming
           
static java.lang.String[] states
           
static int Ticketed
           
static int Ticketing
           
 
Constructor Summary
ReservationStates()
           
 
Method Summary
static java.lang.String getJoiningName(int joining)
          Helper method to return the name of the specified pending state
static java.lang.String getPendingName(int pending)
          Helper method to return the name of the specified pending state
static java.lang.String getStateName(int state)
          Helper method to return the name of the specified state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Nascent

public static final int Nascent
Reservation states (enum ReservationState) Should be protected: public just for logging

See Also:
Constant Field Values

Ticketed

public static final int Ticketed
See Also:
Constant Field Values

Active

public static final int Active
See Also:
Constant Field Values

ActiveTicketed

public static final int ActiveTicketed
See Also:
Constant Field Values

Closed

public static final int Closed
See Also:
Constant Field Values

CloseWait

public static final int CloseWait
See Also:
Constant Field Values

Failed

public static final int Failed
See Also:
Constant Field Values

states

public static final java.lang.String[] states

None

public static final int None
Pending operation states (enum ReservationPending) Should be protected: public just for logging

See Also:
Constant Field Values

Ticketing

public static final int Ticketing
See Also:
Constant Field Values

Redeeming

public static final int Redeeming
See Also:
Constant Field Values

ExtendingTicket

public static final int ExtendingTicket
See Also:
Constant Field Values

ExtendingLease

public static final int ExtendingLease
See Also:
Constant Field Values

Priming

public static final int Priming
See Also:
Constant Field Values

Blocked

public static final int Blocked
See Also:
Constant Field Values

Closing

public static final int Closing
See Also:
Constant Field Values

Probing

public static final int Probing
See Also:
Constant Field Values

ClosingJoining

public static final int ClosingJoining
See Also:
Constant Field Values

pendings

public static final java.lang.String[] pendings

AbsorbUpdate

public static final int AbsorbUpdate
See Also:
Constant Field Values

NoJoin

public static final int NoJoin
Values for joinstate (service manager only).

See Also:
Constant Field Values

BlockedJoin

public static final int BlockedJoin
See Also:
Constant Field Values

BlockedRedeem

public static final int BlockedRedeem
See Also:
Constant Field Values

Joining

public static final int Joining
See Also:
Constant Field Values

joinstates

public static final java.lang.String[] joinstates
Constructor Detail

ReservationStates

public ReservationStates()
Method Detail

getStateName

public static java.lang.String getStateName(int state)
Helper method to return the name of the specified state

Parameters:
state - state
Returns:

getPendingName

public static java.lang.String getPendingName(int pending)
Helper method to return the name of the specified pending state

Parameters:
pending - pending state
Returns:

getJoiningName

public static java.lang.String getJoiningName(int joining)
Helper method to return the name of the specified pending state

Parameters:
pending - pending state
Returns:


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.