eu.xtreemos.xosd.services
Class SResAllocator

java.lang.Object
  extended by eu.xtreemos.xosd.services.SResAllocator

public class SResAllocator
extends java.lang.Object


Field Summary
private  CommunicationAddress _accesspoint_remoteaddress
           
private  eu.xtreemos.system.eventmachine.queue.Context context
           
static java.lang.String servicename
          AUTOGENERATED CODE
 
Constructor Summary
SResAllocator(eu.xtreemos.system.eventmachine.queue.Context context)
           
 
Method Summary
 void addResourceProperty(java.lang.String __resID, IResourceProperty __property)
          dummy method that allows "on-hand" addition of properties.
 void addResourceProperty(java.lang.String __resID, IResourceProperty __property, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          dummy method that allows "on-hand" addition of properties.
 void addResourceProperty(java.lang.String __resID, IResourceProperty __property, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          dummy method that allows "on-hand" addition of properties.
 void attachToJob(java.lang.String __jobID, java.lang.String __reservationID)
           
 void attachToJob(java.lang.String __jobID, java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void attachToJob(java.lang.String __jobID, java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void createRequestsPurgeReservationsBefore(java.util.GregorianCalendar __date)
          creates a request for purging all elements that finish before the given date.
 void createRequestsPurgeReservationsBefore(java.util.GregorianCalendar __date, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          creates a request for purging all elements that finish before the given date.
 void createRequestsPurgeReservationsBefore(java.util.GregorianCalendar __date, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          creates a request for purging all elements that finish before the given date.
 void createReservation(Request __info)
          creates a reservation with a given request.
 void createReservation(Request __info, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          creates a reservation with a given request.
 void createReservation(Request __info, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          creates a reservation with a given request.
 void createReservations(java.util.ArrayList<Request> __reservations)
          creates a massive a sequence of reservations. returns the ids of reservatins with a 1:1 mapping regarding their place.
 void createReservations(java.util.ArrayList<Request> __reservations, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          creates a massive a sequence of reservations. returns the ids of reservatins with a 1:1 mapping regarding their place.
 void createReservations(java.util.ArrayList<Request> __reservations, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          creates a massive a sequence of reservations. returns the ids of reservatins with a 1:1 mapping regarding their place.
 void detachFromJob(java.lang.String __jobID, java.lang.String __reservationID)
           
 void detachFromJob(java.lang.String __jobID, java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void detachFromJob(java.lang.String __jobID, java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getAllFreeSlotsFor(java.lang.String __resourceID)
          returns all free slots in a timetable for some resource.
 void getAllFreeSlotsFor(java.lang.String __resourceID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          returns all free slots in a timetable for some resource.
 void getAllFreeSlotsFor(java.lang.String __resourceID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          returns all free slots in a timetable for some resource.
 void getAllResources()
           
 void getAllResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getAllResources(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getDaemonsReply(java.util.ArrayList __list)
           
 void getDaemonsReply(java.util.ArrayList __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getDaemonsReply(java.util.ArrayList __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getFreeSlotsFor(java.lang.String __resourceID, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to)
          returns all free slots for a given time frame.
 void getFreeSlotsFor(java.lang.String __resourceID, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          returns all free slots for a given time frame.
 void getFreeSlotsFor(java.lang.String __resourceID, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          returns all free slots for a given time frame.
 void getInitializedResources()
          returns all initialized resources
 void getInitializedResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          returns all initialized resources
 void getInitializedResources(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          returns all initialized resources
 void getReservationResources(java.lang.String __reservationID)
           
 void getReservationResources(java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getReservationResources(java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getReservationsInfo(java.util.ArrayList<java.lang.String> __ids)
          For a list of the IDs obtained from the createReservation(Request), the method builds a list of reservation slots descriptors, effectively returning the timetable entries usable for the reservations.
 void getReservationsInfo(java.util.ArrayList<java.lang.String> __ids, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          For a list of the IDs obtained from the createReservation(Request), the method builds a list of reservation slots descriptors, effectively returning the timetable entries usable for the reservations.
 void getReservationsInfo(java.util.ArrayList<java.lang.String> __ids, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          For a list of the IDs obtained from the createReservation(Request), the method builds a list of reservation slots descriptors, effectively returning the timetable entries usable for the reservations.
 void getSelection(java.lang.String __resID, java.util.Hashtable __constraints)
          get all time table elements with selected attributes for a resource
 void getSelection(java.lang.String __resID, java.util.Hashtable __constraints, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          get all time table elements with selected attributes for a resource
 void getSelection(java.lang.String __resID, java.util.Hashtable __constraints, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          get all time table elements with selected attributes for a resource
 void initializeResource(java.lang.String __id)
           
 void initializeResource(java.lang.String __id, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void initializeResource(java.lang.String __id, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void invokeInit()
          AUTOGENERATED CODE
 void invokeInit(eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void invokeInit(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void invokeInitFailed(java.lang.Exception __ex)
           
 void invokeInitFailed(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void invokeInitFailed(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void invokeInitSucceeded(java.util.ArrayList<ResourceDescriptorRecord> __result)
           
 void invokeInitSucceeded(java.util.ArrayList<ResourceDescriptorRecord> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void invokeInitSucceeded(java.util.ArrayList<ResourceDescriptorRecord> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void releaseReservation(java.lang.String __reservationID)
           
 void releaseReservation(java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void releaseReservation(java.lang.String __reservationID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void removeJob(java.lang.String __jobID)
           
 void removeJob(java.lang.String __jobID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void removeJob(java.lang.String __jobID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void removeReservations(java.util.ArrayList<java.lang.String> __reservationIDs)
          Clears the reservations associated with the selected reservation IDs from the allocation table.
 void removeReservations(java.util.ArrayList<java.lang.String> __reservationIDs, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Clears the reservations associated with the selected reservation IDs from the allocation table.
 void removeReservations(java.util.ArrayList<java.lang.String> __reservationIDs, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Clears the reservations associated with the selected reservation IDs from the allocation table.
 void reservationsForJob(java.lang.String __jobID)
           
 void reservationsForJob(java.lang.String __jobID, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void reservationsForJob(java.lang.String __jobID, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void restoreForCheckpointBefore(java.util.ArrayList<java.lang.String> __reservationIDs)
          restores the state of all timetables just before the creation of the given reservation.
 void restoreForCheckpointBefore(java.util.ArrayList<java.lang.String> __reservationIDs, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          restores the state of all timetables just before the creation of the given reservation.
 void restoreForCheckpointBefore(java.util.ArrayList<java.lang.String> __reservationIDs, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          restores the state of all timetables just before the creation of the given reservation.
 void selectAvailable(java.lang.String __resourceID, java.lang.Integer __amount)
          selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)
 void selectAvailable(java.lang.String __resourceID, java.lang.Integer __amount, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)
 void selectAvailable(java.lang.String __resourceID, java.lang.Integer __amount, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)
 void selectAvailableDT(java.lang.String __resourceID, java.lang.Integer __amount, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to)
          selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount".
 void selectAvailableDT(java.lang.String __resourceID, java.lang.Integer __amount, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount".
 void selectAvailableDT(java.lang.String __resourceID, java.lang.Integer __amount, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount".
 void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
           
 void updateReservation(java.lang.String __reservationID, Request __info)
           
 void updateReservation(java.lang.String __reservationID, Request __info, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void updateReservation(java.lang.String __reservationID, Request __info, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void updateReservations(java.util.ArrayList<UpdateRequest> __requests)
          Creates a series of reservation updates.
 void updateReservations(java.util.ArrayList<UpdateRequest> __requests, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Creates a series of reservation updates.
 void updateReservations(java.util.ArrayList<UpdateRequest> __requests, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Creates a series of reservation updates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servicename

public static java.lang.String servicename
AUTOGENERATED CODE


context

private eu.xtreemos.system.eventmachine.queue.Context context

_accesspoint_remoteaddress

private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail

SResAllocator

public SResAllocator(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail

setRemoteaddress

public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)

invokeInit

public void invokeInit()
AUTOGENERATED CODE


invokeInit

public void invokeInit(eu.xtreemos.system.communication.bus.CallbackMessage callback)

invokeInit

public void invokeInit(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

invokeInitSucceeded

public void invokeInitSucceeded(java.util.ArrayList<ResourceDescriptorRecord> __result)

invokeInitSucceeded

public void invokeInitSucceeded(java.util.ArrayList<ResourceDescriptorRecord> __result,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)

invokeInitSucceeded

public void invokeInitSucceeded(java.util.ArrayList<ResourceDescriptorRecord> __result,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

invokeInitFailed

public void invokeInitFailed(java.lang.Exception __ex)

invokeInitFailed

public void invokeInitFailed(java.lang.Exception __ex,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback)

invokeInitFailed

public void invokeInitFailed(java.lang.Exception __ex,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback,
                             eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

initializeResource

public void initializeResource(java.lang.String __id)

initializeResource

public void initializeResource(java.lang.String __id,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)

initializeResource

public void initializeResource(java.lang.String __id,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

addResourceProperty

public void addResourceProperty(java.lang.String __resID,
                                IResourceProperty __property)
dummy method that allows "on-hand" addition of properties. Should be replaced by proper initialization system ...

Parameters:
resID -
property -

addResourceProperty

public void addResourceProperty(java.lang.String __resID,
                                IResourceProperty __property,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
dummy method that allows "on-hand" addition of properties. Should be replaced by proper initialization system ...

Parameters:
resID -
property -

addResourceProperty

public void addResourceProperty(java.lang.String __resID,
                                IResourceProperty __property,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
dummy method that allows "on-hand" addition of properties. Should be replaced by proper initialization system ...

Parameters:
resID -
property -

getAllResources

public void getAllResources()

getAllResources

public void getAllResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)

getAllResources

public void getAllResources(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getDaemonsReply

public void getDaemonsReply(java.util.ArrayList __list)

getDaemonsReply

public void getDaemonsReply(java.util.ArrayList __list,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)

getDaemonsReply

public void getDaemonsReply(java.util.ArrayList __list,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

createReservation

public void createReservation(Request __info)
creates a reservation with a given request.

Parameters:
info -

createReservation

public void createReservation(Request __info,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)
creates a reservation with a given request.

Parameters:
info -

createReservation

public void createReservation(Request __info,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
creates a reservation with a given request.

Parameters:
info -

updateReservation

public void updateReservation(java.lang.String __reservationID,
                              Request __info)
Parameters:
reservationID -
info -

updateReservation

public void updateReservation(java.lang.String __reservationID,
                              Request __info,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
reservationID -
info -

updateReservation

public void updateReservation(java.lang.String __reservationID,
                              Request __info,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
reservationID -
info -

updateReservations

public void updateReservations(java.util.ArrayList<UpdateRequest> __requests)
Creates a series of reservation updates. Note that if one fails, all other are nullified also and the state of all TimeTables is returned to the original state before the call.

Parameters:
requests -
Throws:
AttributeConformanceException

updateReservations

public void updateReservations(java.util.ArrayList<UpdateRequest> __requests,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
Creates a series of reservation updates. Note that if one fails, all other are nullified also and the state of all TimeTables is returned to the original state before the call.

Parameters:
requests -
Throws:
AttributeConformanceException

updateReservations

public void updateReservations(java.util.ArrayList<UpdateRequest> __requests,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Creates a series of reservation updates. Note that if one fails, all other are nullified also and the state of all TimeTables is returned to the original state before the call.

Parameters:
requests -
Throws:
AttributeConformanceException

restoreForCheckpointBefore

public void restoreForCheckpointBefore(java.util.ArrayList<java.lang.String> __reservationIDs)
restores the state of all timetables just before the creation of the given reservation. If it was already restored or if there is no info about it, the call fails otherwise, it succeeds.

Parameters:
reservationID -
Throws:
AttributeConformanceException

restoreForCheckpointBefore

public void restoreForCheckpointBefore(java.util.ArrayList<java.lang.String> __reservationIDs,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback)
restores the state of all timetables just before the creation of the given reservation. If it was already restored or if there is no info about it, the call fails otherwise, it succeeds.

Parameters:
reservationID -
Throws:
AttributeConformanceException

restoreForCheckpointBefore

public void restoreForCheckpointBefore(java.util.ArrayList<java.lang.String> __reservationIDs,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
restores the state of all timetables just before the creation of the given reservation. If it was already restored or if there is no info about it, the call fails otherwise, it succeeds.

Parameters:
reservationID -
Throws:
AttributeConformanceException

releaseReservation

public void releaseReservation(java.lang.String __reservationID)
Parameters:
reservationID -

releaseReservation

public void releaseReservation(java.lang.String __reservationID,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
reservationID -

releaseReservation

public void releaseReservation(java.lang.String __reservationID,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
reservationID -

removeReservations

public void removeReservations(java.util.ArrayList<java.lang.String> __reservationIDs)
Clears the reservations associated with the selected reservation IDs from the allocation table.


removeReservations

public void removeReservations(java.util.ArrayList<java.lang.String> __reservationIDs,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
Clears the reservations associated with the selected reservation IDs from the allocation table.


removeReservations

public void removeReservations(java.util.ArrayList<java.lang.String> __reservationIDs,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Clears the reservations associated with the selected reservation IDs from the allocation table.


getReservationResources

public void getReservationResources(java.lang.String __reservationID)
Parameters:
reservationID -

getReservationResources

public void getReservationResources(java.lang.String __reservationID,
                                    eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
reservationID -

getReservationResources

public void getReservationResources(java.lang.String __reservationID,
                                    eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                    eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
reservationID -

attachToJob

public void attachToJob(java.lang.String __jobID,
                        java.lang.String __reservationID)

attachToJob

public void attachToJob(java.lang.String __jobID,
                        java.lang.String __reservationID,
                        eu.xtreemos.system.communication.bus.CallbackMessage callback)

attachToJob

public void attachToJob(java.lang.String __jobID,
                        java.lang.String __reservationID,
                        eu.xtreemos.system.communication.bus.CallbackMessage callback,
                        eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

detachFromJob

public void detachFromJob(java.lang.String __jobID,
                          java.lang.String __reservationID)

detachFromJob

public void detachFromJob(java.lang.String __jobID,
                          java.lang.String __reservationID,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback)

detachFromJob

public void detachFromJob(java.lang.String __jobID,
                          java.lang.String __reservationID,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

removeJob

public void removeJob(java.lang.String __jobID)

removeJob

public void removeJob(java.lang.String __jobID,
                      eu.xtreemos.system.communication.bus.CallbackMessage callback)

removeJob

public void removeJob(java.lang.String __jobID,
                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

reservationsForJob

public void reservationsForJob(java.lang.String __jobID)

reservationsForJob

public void reservationsForJob(java.lang.String __jobID,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)

reservationsForJob

public void reservationsForJob(java.lang.String __jobID,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getAllFreeSlotsFor

public void getAllFreeSlotsFor(java.lang.String __resourceID)
returns all free slots in a timetable for some resource.

Parameters:
resourceID -

getAllFreeSlotsFor

public void getAllFreeSlotsFor(java.lang.String __resourceID,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
returns all free slots in a timetable for some resource.

Parameters:
resourceID -

getAllFreeSlotsFor

public void getAllFreeSlotsFor(java.lang.String __resourceID,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
returns all free slots in a timetable for some resource.

Parameters:
resourceID -

getFreeSlotsFor

public void getFreeSlotsFor(java.lang.String __resourceID,
                            java.util.GregorianCalendar __from,
                            java.util.GregorianCalendar __to)
returns all free slots for a given time frame.

Parameters:
resourceID -
from -
to -

getFreeSlotsFor

public void getFreeSlotsFor(java.lang.String __resourceID,
                            java.util.GregorianCalendar __from,
                            java.util.GregorianCalendar __to,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)
returns all free slots for a given time frame.

Parameters:
resourceID -
from -
to -

getFreeSlotsFor

public void getFreeSlotsFor(java.lang.String __resourceID,
                            java.util.GregorianCalendar __from,
                            java.util.GregorianCalendar __to,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
returns all free slots for a given time frame.

Parameters:
resourceID -
from -
to -

selectAvailable

public void selectAvailable(java.lang.String __resourceID,
                            java.lang.Integer __amount)
selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)

Parameters:
resourceID -
amount -

selectAvailable

public void selectAvailable(java.lang.String __resourceID,
                            java.lang.Integer __amount,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)
selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)

Parameters:
resourceID -
amount -

selectAvailable

public void selectAvailable(java.lang.String __resourceID,
                            java.lang.Integer __amount,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
selects available from all elements (see selectAvailable(resourceId, amount, from, to) description!)

Parameters:
resourceID -
amount -

selectAvailableDT

public void selectAvailableDT(java.lang.String __resourceID,
                              java.lang.Integer __amount,
                              java.util.GregorianCalendar __from,
                              java.util.GregorianCalendar __to)
selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount". Also, the sharing value of such element must not be EXCLUSIVE.

Parameters:
resourceID -
amount -
from -
to -

selectAvailableDT

public void selectAvailableDT(java.lang.String __resourceID,
                              java.lang.Integer __amount,
                              java.util.GregorianCalendar __from,
                              java.util.GregorianCalendar __to,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)
selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount". Also, the sharing value of such element must not be EXCLUSIVE.

Parameters:
resourceID -
amount -
from -
to -

selectAvailableDT

public void selectAvailableDT(java.lang.String __resourceID,
                              java.lang.Integer __amount,
                              java.util.GregorianCalendar __from,
                              java.util.GregorianCalendar __to,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
selects all already reserved elements within a timetable for some resource (identified by resourceID), where the amount of available resource property CurrentAmount is smaller than MaxAmount by more than given parameter "amount". Also, the sharing value of such element must not be EXCLUSIVE.

Parameters:
resourceID -
amount -
from -
to -

getInitializedResources

public void getInitializedResources()
returns all initialized resources


getInitializedResources

public void getInitializedResources(eu.xtreemos.system.communication.bus.CallbackMessage callback)
returns all initialized resources


getInitializedResources

public void getInitializedResources(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                    eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
returns all initialized resources


createRequestsPurgeReservationsBefore

public void createRequestsPurgeReservationsBefore(java.util.GregorianCalendar __date)
creates a request for purging all elements that finish before the given date.

Parameters:
date -

createRequestsPurgeReservationsBefore

public void createRequestsPurgeReservationsBefore(java.util.GregorianCalendar __date,
                                                  eu.xtreemos.system.communication.bus.CallbackMessage callback)
creates a request for purging all elements that finish before the given date.

Parameters:
date -

createRequestsPurgeReservationsBefore

public void createRequestsPurgeReservationsBefore(java.util.GregorianCalendar __date,
                                                  eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                                  eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
creates a request for purging all elements that finish before the given date.

Parameters:
date -

getReservationsInfo

public void getReservationsInfo(java.util.ArrayList<java.lang.String> __ids)
For a list of the IDs obtained from the createReservation(Request), the method builds a list of reservation slots descriptors, effectively returning the timetable entries usable for the reservations. Get required information for the ReservationManager about all reservations slots in the time table regarding some reservation id.

Parameters:
reservationIDs - A collection of the IDs obtained from createReservation(Request).

getReservationsInfo

public void getReservationsInfo(java.util.ArrayList<java.lang.String> __ids,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
For a list of the IDs obtained from the createReservation(Request), the method builds a list of reservation slots descriptors, effectively returning the timetable entries usable for the reservations. Get required information for the ReservationManager about all reservations slots in the time table regarding some reservation id.

Parameters:
reservationIDs - A collection of the IDs obtained from createReservation(Request).

getReservationsInfo

public void getReservationsInfo(java.util.ArrayList<java.lang.String> __ids,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
For a list of the IDs obtained from the createReservation(Request), the method builds a list of reservation slots descriptors, effectively returning the timetable entries usable for the reservations. Get required information for the ReservationManager about all reservations slots in the time table regarding some reservation id.

Parameters:
reservationIDs - A collection of the IDs obtained from createReservation(Request).

createReservations

public void createReservations(java.util.ArrayList<Request> __reservations)
creates a massive a sequence of reservations. returns the ids of reservatins with a 1:1 mapping regarding their place. If one of the reservations fails, all of them must fail also. If reservation fails, but restoring succeeds, the empty array is returned, otherwise, if the restoring fails also, the null object is returned.

Parameters:
reservations -

createReservations

public void createReservations(java.util.ArrayList<Request> __reservations,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
creates a massive a sequence of reservations. returns the ids of reservatins with a 1:1 mapping regarding their place. If one of the reservations fails, all of them must fail also. If reservation fails, but restoring succeeds, the empty array is returned, otherwise, if the restoring fails also, the null object is returned.

Parameters:
reservations -

createReservations

public void createReservations(java.util.ArrayList<Request> __reservations,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
creates a massive a sequence of reservations. returns the ids of reservatins with a 1:1 mapping regarding their place. If one of the reservations fails, all of them must fail also. If reservation fails, but restoring succeeds, the empty array is returned, otherwise, if the restoring fails also, the null object is returned.

Parameters:
reservations -

getSelection

public void getSelection(java.lang.String __resID,
                         java.util.Hashtable __constraints)
get all time table elements with selected attributes for a resource

Parameters:
resID -
constraints -

getSelection

public void getSelection(java.lang.String __resID,
                         java.util.Hashtable __constraints,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
get all time table elements with selected attributes for a resource

Parameters:
resID -
constraints -

getSelection

public void getSelection(java.lang.String __resID,
                         java.util.Hashtable __constraints,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
get all time table elements with selected attributes for a resource

Parameters:
resID -
constraints -