orca.policy.core
Interface IResourceControl

All Superinterfaces:
IInitialize, IRecover, ISerialize
All Known Implementing Classes:
BestFitIdControlChange, IdControlChange, XenControl, XenResizeControl

public interface IResourceControl
extends IInitialize, ISerialize, IRecover


Method Summary
 ResourceSet assign(AuthorityReservation reservation)
           
 void available(ResourceSet rset)
           
 ResourceSet correctDeficit(AuthorityReservation reservation)
           
 ResourceSet correctFailed(ResourceSet rset)
           
 void donate(ResourceSet rset)
           
 void eject(ResourceSet rset)
           
 void freed(ResourceSet rset)
           
 ID getGuid()
           
 ResourceType[] getTypes()
           
 void release(ResourceSet rset)
           
 void revisit(ResourceReservation r)
           
 void setActor(IActor actor)
           
 int unavailable(ResourceSet rset)
           
 
Methods inherited from interface orca.shirako.api.IInitialize
initialize
 
Methods inherited from interface orca.shirako.api.ISerialize
reset, save, save
 
Methods inherited from interface orca.shirako.api.IRecover
revisit
 

Method Detail

getGuid

ID getGuid()

correctDeficit

ResourceSet correctDeficit(AuthorityReservation reservation)
                           throws java.lang.Exception
Throws:
java.lang.Exception

correctFailed

ResourceSet correctFailed(ResourceSet rset)
                          throws java.lang.Exception
Throws:
java.lang.Exception

assign

ResourceSet assign(AuthorityReservation reservation)
                   throws java.lang.Exception
Throws:
java.lang.Exception

release

void release(ResourceSet rset)
             throws java.lang.Exception
Throws:
java.lang.Exception

freed

void freed(ResourceSet rset)
           throws java.lang.Exception
Throws:
java.lang.Exception

donate

void donate(ResourceSet rset)
            throws java.lang.Exception
Throws:
java.lang.Exception

eject

void eject(ResourceSet rset)
           throws java.lang.Exception
Throws:
java.lang.Exception

available

void available(ResourceSet rset)
               throws java.lang.Exception
Throws:
java.lang.Exception

unavailable

int unavailable(ResourceSet rset)
                throws java.lang.Exception
Throws:
java.lang.Exception

setActor

void setActor(IActor actor)

getTypes

ResourceType[] getTypes()

revisit

void revisit(ResourceReservation r)
             throws java.lang.Exception
Throws:
java.lang.Exception


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