Uses of Class
orca.shirako.time.Term

Packages that use Term
orca.cod   
orca.manage.extensions.standard   
orca.policy.core   
orca.sharp   
orca.shirako.api   
orca.shirako.core   
orca.shirako.kernel   
orca.shirako.proxies.soap   
orca.shirako.proxies.soap.util   
orca.shirako.time   
 

Uses of Term in orca.cod
 

Methods in orca.cod with parameters of type Term
 void NodeGroup.change(IConcreteSet concrete, Term term, boolean configure)
          Make changes to the resources committed to this concrete set.
 void NodeGroup.extend(Term term)
          Informs the concrete set that its term has been extended.
 IConcreteSet NodeGroup.extract(int count, Term term, java.util.Properties properties, AuthToken client)
          Extracts the specified units of resources for the given period of time.
 int NodeGroup.holding(Term t)
          Returns how many units will be in the set for the given period of time.
 void NodeGroup.validateConcrete(ResourceType type, int units, Term t)
          Currently unused.
 

Constructors in orca.cod with parameters of type Term
CodPredecessorReservation(Slice slice, ResourceSet rset, Term term, IBrokerProxy broker)
           
CodReservation(Slice slice, ResourceSet rset, Term term, IBrokerProxy broker)
           
 

Uses of Term in orca.manage.extensions.standard
 

Methods in orca.manage.extensions.standard that return Term
static Term Converter.getTerm(java.lang.String start, java.lang.String end)
           
 

Methods in orca.manage.extensions.standard with parameters of type Term
static boolean Converter.isExpired(Term term)
          Checks if a term has expired
 

Uses of Term in orca.policy.core
 

Methods in orca.policy.core that return Term
protected  Term BrokerSimplePolicyPlugin.getApprovedTerm(BrokerReservation reservation)
          Determine the approved term of a reservation
protected  Term ServiceManagerSimplePolicyPlugin.getExtendTerm(Term suggestedTerm, Term currentTerm)
           
 

Methods in orca.policy.core with parameters of type Term
protected  void BrokerBasePolicyPlugin.addToCalendar(ResourceSet mine, BrokerReservation reservation, ReservationClient source, Term approved)
          Record the new reservation in the agent's calendar
 void BaseServiceManagerCalendarPolicy.extend(ResourceReservation reservation, ResourceSet resources, Term term)
          Notifies the policy that a reservation is about to be extended.
 void AuthorityBasePolicyPlugin.extend(ResourceReservation reservation, ResourceSet resources, Term term)
          Notifies the policy that a reservation is about to be extended.
protected  ResourceSet BrokerSimplePolicyPlugin.extractTicket(BrokerReservation reservation, ReservationClient source, Term approved, long resourceShare)
          Extract the ticket from the source and check to see if the resulting ticket satisfies the request
protected  ResourceSet BrokerWorstFitMultiplePoolsPolicyPlugin.extractTicket(BrokerReservation reservation, ReservationClient source, Term approved, long resourceShare)
           
protected abstract  long BaseServiceManagerCalendarPolicy.getClose(ReservationClient reservation, Term term)
          Get the time that a reservation closes
 long ServiceManagerSimplePolicyPlugin.getClose(ReservationClient reservation, Term term)
          Very simple policy - based on ADVANCE_CLOSE
Get the time that a reservation closes
protected  long AuthorityBasePolicyPlugin.getClose(Term term)
          Return the cycle when a term closes
protected  Term ServiceManagerSimplePolicyPlugin.getExtendTerm(Term suggestedTerm, Term currentTerm)
           
protected  void BrokerBestFitPolicyPlugin.releaseResources(ResourceSet set, Term t)
          Releases the resources assigned to this reservation
protected  void BrokerWorstFitPolicyPlugin.releaseResources(ResourceSet set, Term t)
          Releases the resources assigned to this reservation
protected  void BrokerWorstFitMultiplePoolsPolicyPlugin.releaseResources(ResourceSet set, Term t)
          Releases the resources assigned to this reservation
 

Uses of Term in orca.sharp
 

Fields in orca.sharp declared as Term
protected  Term Claim.term
          Duration of the term.
 

Methods in orca.sharp that return Term
 Term SharpTicket.getTerm()
          Returns the term of the ticket
 Term Claim.getTerm()
          Returns the term of the claim
static Term SharpTools.termFromXML(org.w3c.dom.Element node)
           
 

Methods in orca.sharp with parameters of type Term
 ITicket SharpTicket.extract(AuthToken issuer, AuthToken holder, int count, Term term)
          Creates and signs a new ticket for a subset of the resources granted by the current ticket.
 Claim Claim.extract(int count, Term term, ID newHolderID, java.security.PublicKey holderKey)
          Creates a non-signed subclaim
static org.w3c.dom.Element SharpTools.termToXML(Term term, org.w3c.dom.Node parent)
           
 

Constructors in orca.sharp with parameters of type Term
Claim(ID parentID, ID issuer, ID holder, ResourceClaim rset, Term term, java.security.PublicKey holderKey)
          Creates a new unsigned claim
SharpTicket(AuthToken issuer, ResourceClaim rset, Term term)
          Creates and signs a new self-certified (top-level) ticket
 

Uses of Term in orca.shirako.api
 

Methods in orca.shirako.api that return Term
 Term IResourceReservation.getApprovedTerm()
          Returns the term approved for the reservation by the last policy decision.
 Term IServiceManagerReservation.getLeaseTerm()
          Returns the term of the current lease.
 Term IServiceManagerReservation.getPreviousLeaseTerm()
          Returns the previous lease term.
 Term IResourceReservation.getPreviousTerm()
          Returns the previously allocated term for the reservation.
 Term IClientReservation.getPreviousTicketTerm()
          Returns the previous ticket term.
 Term IResourceReservation.getRequestedTerm()
          Returns the last requested term.
 Term IClientReservation.getSuggestedTerm()
          Returns the term suggested to the policy for a new/extend request for the reservation.
 Term ITicket.getTerm()
          Returns the term of this ticket
 Term IResourceReservation.getTerm()
          Returns the currently allocated term for the reservation.
 Term IClientReservation.getTicketTerm()
          Returns the current ticket term.
 

Methods in orca.shirako.api with parameters of type Term
 void IConcreteSet.change(IConcreteSet set, Term term, boolean configure)
          Makes changes to the resources in the concrete set.
 ReservationID IServerActor.export(ResourceSet resources, Term term, AuthToken client)
          Exports the specified resources for the given period of time to the client.
 void IReservationOperations.extend(ReservationID rid, ResourceSet rset, Term term)
          Extends the reservation.
 void IReservationOperations.extend(ResourceReservation reservation, ResourceSet resources, Term term)
          Extends the reservation.
 void IPolicy.extend(ResourceReservation reservation, ResourceSet resources, Term term)
          Notifies the policy that a reservation is about to be extended.
 void IConcreteSet.extend(Term term)
          Informs the concrete set that its term has been extended.
 int IKernelWrapper.extendReservation(ReservationID rid, ResourceSet resources, Term term)
          Extends the reservation with the given resources and term.
 ITicket ITicket.extract(AuthToken issuer, AuthToken holder, int count, Term term)
           
 IConcreteSet IConcreteSet.extract(int count, Term term, java.util.Properties properties, AuthToken client)
          Extracts the specified units of resources for the given period of time.
 int IConcreteSet.holding(Term term)
          Returns how many units will be in the set for the given period of time.
 void IServiceManagerPolicy.leaseSatisfies(ResourceSet requestedResources, ResourceSet actualResources, Term requestedTerm, Term actualTerm)
          Checks if the resources and term received in a lease are in compliance with what was initially requested.
 void IResourceReservation.setApproved(Term approvedTerm, ResourceSet approvedResources)
          Sets the term and resources approved by the policy.
 void IResourceReservation.setApprovedTerm(Term term)
          Sets the term approved for the
 void IClientReservation.setSuggested(Term term, ResourceSet resources)
          Sets the term and resources suggested to the policy for a new/extend request for the reservation.
 void IClientPolicy.ticketSatisfies(ResourceSet requestedResources, ResourceSet actualResources, Term requestedTerm, Term actualTerm)
          Checks if the resources and term received in a ticket are in compliance with what was initially requested.
 void IConcreteSet.validateConcrete(ResourceType type, int units, Term term)
          Validate that the concrete set matches the abstract resource set parameters.
 

Uses of Term in orca.shirako.core
 

Fields in orca.shirako.core declared as Term
protected  Term Ticket.term
          The term
 

Methods in orca.shirako.core that return Term
 Term Ticket.getTerm()
          Returns the ticket term
 

Methods in orca.shirako.core with parameters of type Term
 void Ticket.change(IConcreteSet cs, Term term, boolean configure)
          Make changes to the resources committed to this concrete set.
 ReservationID Broker.export(ResourceSet resources, Term term, AuthToken client)
           
 ReservationID Authority.export(ResourceSet resources, Term term, AuthToken authToken)
           
 void Actor.extend(ReservationID rid, ResourceSet rset, Term term)
           
 void Policy.extend(ResourceReservation reservation, ResourceSet resources, Term term)
           
 void Actor.extend(ResourceReservation reservation, ResourceSet resources, Term term)
           
 void Ticket.extend(Term term)
          Extend the term on the reservation
 IConcreteSet Ticket.extract(int count, Term t, java.util.Properties properties, AuthToken client)
          Write a new subticket for some subset of the units and some subinterval of the term covered by this ticket.
 int Ticket.holding(Term t)
           
 void ServiceManagerPolicy.leaseSatisfies(ResourceSet requestedResources, ResourceSet actualResources, Term requestedTerm, Term actualTerm)
           
 void ServiceManagerPolicy.ticketSatisfies(ResourceSet requestedResources, ResourceSet actualResources, Term requestedTerm, Term actualTerm)
           
 void BrokerPolicy.ticketSatisfies(ResourceSet requestedResources, ResourceSet actualResources, Term requestedTerm, Term actualTerm)
           
 void Ticket.validateConcrete(ResourceType type, int units, Term t)
           
 

Constructors in orca.shirako.core with parameters of type Term
Ticket(IShirakoPlugin plugin, LoggingTool logger, IAuthorityProxy authority, ResourceType type, int units, Term term)
          Creates a new TicketStub with an empty slice name
 

Uses of Term in orca.shirako.kernel
 

Fields in orca.shirako.kernel declared as Term
protected  Term ResourceReservation.approvedTerm
          The term the policy approved for this reservation.
protected  Term ReservationClient.leaseTerm
          The most recent granted term for a lease.
protected  Term ReservationClient.previousLeaseTerm
          The previous lease term.
protected  Term ResourceReservation.previousTerm
          The previous term of the reservation.
protected  Term ReservationClient.previousTicketTerm
          The previous ticket term.
protected  Term ResourceReservation.requestedTerm
          The term of the last request issued/received for this reservation
protected  Term ReservationClient.suggestedTerm
          The most recently recommended term for new requests/extensions for this reservation.
protected  Term ResourceReservation.term
          The current term of the reservation.
protected  Term ReservationClient.ticketTerm
          The most recent granted term for a ticket.
 

Methods in orca.shirako.kernel that return Term
 Term ResourceReservation.getApprovedTerm()
           
 Term ReservationClient.getLeaseTerm()
           
 Term ReservationClient.getPreviousLeaseTerm()
           
 Term ResourceReservation.getPreviousTerm()
           
 Term ReservationClient.getPreviousTicketTerm()
           
 Term ResourceReservation.getRequestedTerm()
           
 Term ReservationClient.getSuggestedTerm()
           
 Term ResourceReservation.getTerm()
           
 Term ReservationClient.getTicketTerm()
           
 

Methods in orca.shirako.kernel with parameters of type Term
 int KernelWrapper.extendReservation(ReservationID rid, ResourceSet resources, Term term)
           
protected  int Kernel.extendReservation(ReservationID rid, ResourceSet rset, Term term)
          Extends the reservation with the given resources and term.
protected  int Kernel.extendReservation(ResourceReservation reservation, ResourceSet resources, Term term)
          Extends the reservation with the given resources and term.
 ResourceSet ResourceSet.extract(ResourceType type, int count, Term term, AuthToken client)
          Extracts a specified number of units from the resources assigned to this set.
 int ResourceSet.getConcreteUnits(Term t)
          Estimate the concrete resource units the resource set will contain over the specified period.
 void ResourceSet.serviceExtend(Term term)
          Complete service for a term extension (server side).
 void ResourceReservation.setApproved(Term approvedTerm, ResourceSet approvedResources)
           
 void ResourceReservation.setApprovedTerm(Term term)
           
 void ReservationClient.setSuggested(Term term, ResourceSet rset)
           
 void ReservationClient.setSuggestedTerm(Term term)
           
 void ResourceSet.validateIncomingTicket(Term t)
          Validate match between abstract and concrete ResourceSet in a ResourceSet representing an incoming ticket.
 

Constructors in orca.shirako.kernel with parameters of type Term
AuthorityReservation(ReservationID rid, ResourceSet resources, Term term, Slice slice)
          Creates a new reservation instance representing a client request
BrokerReservation(ReservationID rid, ResourceSet resources, Term term, Slice slice)
          Creates a new reservation to represent a request for resources.
BrokerReservation(ResourceSet resources, Term term, Slice slice)
          Creates a new reservation to represent a request for resources.
ReservationClient(ReservationID rid, ResourceSet resources, Term term, Slice slice)
          Creates a new reservation instance.
ReservationClient(ReservationID rid, ResourceSet resources, Term term, Slice slice, IBrokerProxy broker)
          Creates a new reservation instance.
ReservationClient(ResourceSet resources, Term term, Slice slice)
          Creates a new reservation instance.
ReservationClient(ResourceSet resources, Term term, Slice slice, IBrokerProxy broker)
          Creates a new reservation instance.
ReservationServer(ReservationID rid, ResourceSet resources, Term term, Slice slice)
          Creates a new reservation instance to represent a server-side request for resources.
ReservationServer(ResourceSet resources, Term term, Slice slice)
          Creates a new reservation instance to represent a server-side request for resources.
ResourceReservation(ReservationID rid, ResourceSet resources, Term term, Slice slice)
          Creates a new instance.
ResourceReservation(ResourceSet resources, Term term, Slice slice)
          Creates a new reservation instance.
 

Uses of Term in orca.shirako.proxies.soap
 

Methods in orca.shirako.proxies.soap that return Term
protected  Term SoapFactory.decodeTermSoap(Plist list)
          Decode a SOAP-encoded term.
 

Methods in orca.shirako.proxies.soap with parameters of type Term
protected  Plist SoapFactory.encodeTermSoap(Term term)
          SOAP-encodes a term
 

Uses of Term in orca.shirako.proxies.soap.util
 

Methods in orca.shirako.proxies.soap.util that return Term
static Term Translate.translate(Term beanTerm)
          Translates a soap.beans.Term to slices.Term
 

Methods in orca.shirako.proxies.soap.util with parameters of type Term
static Term Translate.translate(Term term)
          Translates slices.Term to soap.beans.Term
 

Uses of Term in orca.shirako.time
 

Methods in orca.shirako.time that return Term
 Term Term.changeTerm(long length, ActorClock clock)
          Change the length of a term, but do not change the start date
 Term Term.copy()
          Returns a copy of the Term
 Term Term.extendTerm(ActorClock clock)
          Extend the specified term by the length it was before
 Term Term.extendTermByLength(long length, ActorClock clock)
          Extend the specified term by the length it was before
 Term Term.shiftTerm(java.util.Date newStartDate, ActorClock clock)
          Shift a given term to start at a specified cycle Called on the term that's being shifted
 

Methods in orca.shirako.time with parameters of type Term
 boolean Term.contains(Term term)
          Checks if this term contains the given term.
 boolean Term.endsBeforeNew(Term req)
          Looks if the new start time is after the end time of the new request.
 void Term.enforceExtendsTerm(Term oldT, LoggingTool logger)
          Throws an error if this term does not extend passed the (old) term
 void Term.enforceSatisfiesTerm(Term req, LoggingTool logger)
          Throws an error if this term does not satisfy requested term
 boolean Term.extendsTerm(Term oldT)
          Does this term extend the passed (old) term?
Yes = [ -- old -- ] [ ---- new ----] No = [ -- old -- ] [ ---- new ----]
The new start time can be before the old one, but it must not be in the future.
static void Term.logComparison(Term t1, Term t2, LoggingTool logger)
          Logs a comparison between two terms
 boolean Term.satisfies(Term req)
          Does this term satisfy the requested term?
 boolean Term.startsAfterNew(Term req)
          Looks if the new start time of this term starts before the start time of req.
 

Constructors in orca.shirako.time with parameters of type Term
Term(Term term)
           
 



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