|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.services.SReservationManager
public class SReservationManager
Field Summary | |
---|---|
private CommunicationAddress |
_accesspoint_remoteaddress
|
private eu.xtreemos.system.eventmachine.queue.Context |
context
|
static java.lang.String |
servicename
AUTOGENERATED CODE |
Constructor Summary | |
---|---|
SReservationManager(eu.xtreemos.system.eventmachine.queue.Context context)
|
Method Summary | |
---|---|
void |
attachJob(java.lang.String __reservationId,
java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate)
Attach a job to the reservation. |
void |
attachJob(java.lang.String __reservationId,
java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Attach a job to the reservation. |
void |
attachJob(java.lang.String __reservationId,
java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Attach a job to the reservation. |
void |
createEmptyReservation(java.security.cert.X509Certificate __userCertificate)
Creates an empty reservation and returns its reservation ID. |
void |
createEmptyReservation(java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Creates an empty reservation and returns its reservation ID. |
void |
createEmptyReservation(java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Creates an empty reservation and returns its reservation ID. |
void |
createReservation(java.lang.String __query,
java.security.cert.X509Certificate __userCertificate)
Creates a reservation based on the JSDL query. |
void |
createReservation(java.lang.String __query,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Creates a reservation based on the JSDL query. |
void |
createReservation(java.lang.String __query,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Creates a reservation based on the JSDL query. |
void |
createReservationExplicit(java.util.ArrayList<ReservationRequest> __requests,
java.security.cert.X509Certificate __userCertificate)
Creates a reservation based on the list of local allocation requests. |
void |
createReservationExplicit(java.util.ArrayList<ReservationRequest> __requests,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Creates a reservation based on the list of local allocation requests. |
void |
createReservationExplicit(java.util.ArrayList<ReservationRequest> __requests,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Creates a reservation based on the list of local allocation requests. |
void |
createReservationExplicitFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
createReservationExplicitFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
createReservationExplicitFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
createReservationExplicitSuccess(java.lang.String __result)
A call-back for internal use only. |
void |
createReservationExplicitSuccess(java.lang.String __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
createReservationExplicitSuccess(java.lang.String __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
createReservationsFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
createReservationsFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
createReservationsFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
createReservationsSuccess(java.util.ArrayList<java.lang.String> __result)
A call-back for internal use only. |
void |
createReservationsSuccess(java.util.ArrayList<java.lang.String> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
createReservationsSuccess(java.util.ArrayList<java.lang.String> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
detachJob(java.lang.String __reservationId,
java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate)
Detach the job from the reservation. |
void |
detachJob(java.lang.String __reservationId,
java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Detach the job from the reservation. |
void |
detachJob(java.lang.String __reservationId,
java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Detach the job from the reservation. |
void |
getAllFreeSlotsFor(CommunicationAddress __nodeAddress,
java.lang.String __resourceID,
java.security.cert.X509Certificate __userCert)
Returns all free slots in a timetable for some metric on the node. |
void |
getAllFreeSlotsFor(CommunicationAddress __nodeAddress,
java.lang.String __resourceID,
java.security.cert.X509Certificate __userCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns all free slots in a timetable for some metric on the node. |
void |
getAllFreeSlotsFor(CommunicationAddress __nodeAddress,
java.lang.String __resourceID,
java.security.cert.X509Certificate __userCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns all free slots in a timetable for some metric on the node. |
void |
getAllFreeSlotsForFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
getAllFreeSlotsForFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getAllFreeSlotsForFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getAllFreeSlotsForPxySuccess(FreeSlots __result)
|
void |
getAllFreeSlotsForPxySuccess(FreeSlots __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
getAllFreeSlotsForPxySuccess(FreeSlots __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
getAllFreeSlotsForSuccess(FreeSlots __result)
A call-back for internal use only. |
void |
getAllFreeSlotsForSuccess(FreeSlots __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getAllFreeSlotsForSuccess(FreeSlots __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getFreeSlotsFor(CommunicationAddress __nodeAddress,
java.lang.String __resourceID,
java.util.GregorianCalendar __from,
java.util.GregorianCalendar __to,
java.security.cert.X509Certificate __userCert)
Returns all free slots for a given resource and time frame on the node. |
void |
getFreeSlotsFor(CommunicationAddress __nodeAddress,
java.lang.String __resourceID,
java.util.GregorianCalendar __from,
java.util.GregorianCalendar __to,
java.security.cert.X509Certificate __userCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns all free slots for a given resource and time frame on the node. |
void |
getFreeSlotsFor(CommunicationAddress __nodeAddress,
java.lang.String __resourceID,
java.util.GregorianCalendar __from,
java.util.GregorianCalendar __to,
java.security.cert.X509Certificate __userCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns all free slots for a given resource and time frame on the node. |
void |
getFreeSlotsForPxySuccess(FreeSlots __result)
A call-back for internal use only. |
void |
getFreeSlotsForPxySuccess(FreeSlots __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getFreeSlotsForPxySuccess(FreeSlots __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getReservationFromJob(java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate)
Query the reservation ID that a job is attached to. |
void |
getReservationFromJob(java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Query the reservation ID that a job is attached to. |
void |
getReservationFromJob(java.lang.String __jobId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Query the reservation ID that a job is attached to. |
void |
getReservationResources(java.lang.String __reservationId,
java.security.cert.X509Certificate __userCertificate)
Get the list of the resources and the related time constraints related to the reservation. |
void |
getReservationResources(java.lang.String __reservationId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Get the list of the resources and the related time constraints related to the reservation. |
void |
getReservationResources(java.lang.String __reservationId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Get the list of the resources and the related time constraints related to the reservation. |
void |
getReservationsInfoFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
getReservationsInfoFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getReservationsInfoFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getReservationsInfoSuccess(java.util.ArrayList<ReservationSlot> __result)
A call-back for internal use only. |
void |
getReservationsInfoSuccess(java.util.ArrayList<ReservationSlot> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getReservationsInfoSuccess(java.util.ArrayList<ReservationSlot> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getResourceDescriptorsFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
getResourceDescriptorsFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getResourceDescriptorsFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result)
A call-back for internal use only. |
void |
getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getResourcesFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
getResourcesFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getResourcesFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
getResourcesSuccess(java.util.ArrayList<CommunicationAddress> __result)
A call-back for internal use only. |
void |
getResourcesSuccess(java.util.ArrayList<CommunicationAddress> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
getResourcesSuccess(java.util.ArrayList<CommunicationAddress> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
releaseReservation(java.lang.String __reservationId,
java.security.cert.X509Certificate __userCertificate)
Drop the reservation. |
void |
releaseReservation(java.lang.String __reservationId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Drop the reservation. |
void |
releaseReservation(java.lang.String __reservationId,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Drop the reservation. |
void |
releaseReservationLocalFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
releaseReservationLocalFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
releaseReservationLocalFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
releaseReservationLocalSuccess(java.util.ArrayList<java.lang.String> __result)
A call-back for internal use only. |
void |
releaseReservationLocalSuccess(java.util.ArrayList<java.lang.String> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
releaseReservationLocalSuccess(java.util.ArrayList<java.lang.String> __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
rollbackUntilFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
rollbackUntilFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
rollbackUntilFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
rollbackUntilFailureBool(java.lang.Exception __ex)
A call-back for internal use only. |
void |
rollbackUntilFailureBool(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
rollbackUntilFailureBool(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
rollbackUntilSuccess(java.lang.Boolean __result)
A call-back for internal use only. |
void |
rollbackUntilSuccess(java.lang.Boolean __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
rollbackUntilSuccess(java.lang.Boolean __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
rollbackUntilSuccessBool(java.lang.Boolean __result)
A call-back for internal use only. |
void |
rollbackUntilSuccessBool(java.lang.Boolean __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
rollbackUntilSuccessBool(java.lang.Boolean __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
|
void |
updateReservation(java.lang.String __reservationId,
java.lang.String __query,
java.security.cert.X509Certificate __userCertificate)
Updates the reservation by adding the local reservations as discovered according to the JSDL query. |
void |
updateReservation(java.lang.String __reservationId,
java.lang.String __query,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Updates the reservation by adding the local reservations as discovered according to the JSDL query. |
void |
updateReservation(java.lang.String __reservationId,
java.lang.String __query,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Updates the reservation by adding the local reservations as discovered according to the JSDL query. |
void |
updateReservationExplicit(java.lang.String __reservationId,
java.util.ArrayList<UpdateRequest> __requests,
java.security.cert.X509Certificate __userCertificate)
Update previously created reservations. |
void |
updateReservationExplicit(java.lang.String __reservationId,
java.util.ArrayList<UpdateRequest> __requests,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Update previously created reservations. |
void |
updateReservationExplicit(java.lang.String __reservationId,
java.util.ArrayList<UpdateRequest> __requests,
java.security.cert.X509Certificate __userCertificate,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Update previously created reservations. |
void |
updateReservationFailure(java.lang.Exception __ex)
A call-back for internal use only. |
void |
updateReservationFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
updateReservationFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
void |
updateReservationSuccess(java.lang.Boolean __result)
A call-back for internal use only. |
void |
updateReservationSuccess(java.lang.Boolean __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
A call-back for internal use only. |
void |
updateReservationSuccess(java.lang.Boolean __result,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A call-back for internal use only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String servicename
private eu.xtreemos.system.eventmachine.queue.Context context
private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail |
---|
public SReservationManager(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail |
---|
public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
public void updateReservation(java.lang.String __reservationId, java.lang.String __query, java.security.cert.X509Certificate __userCertificate)
reservationId
- The ID of the reservation to update.query
- The JSDL query.userCertificate
- The certificate of the user performing the
action.
java.lang.Exception
- If the reservation doesn't exist, if the user
cannot update the reservation (ownership), or if the reservation is not
empty, if the resource selection fails, if the resource
selection yields a lower number of candidates than requested in the JSDL,
if the selected nodes have no free slots.public void updateReservation(java.lang.String __reservationId, java.lang.String __query, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
reservationId
- The ID of the reservation to update.query
- The JSDL query.userCertificate
- The certificate of the user performing the
action.
java.lang.Exception
- If the reservation doesn't exist, if the user
cannot update the reservation (ownership), or if the reservation is not
empty, if the resource selection fails, if the resource
selection yields a lower number of candidates than requested in the JSDL,
if the selected nodes have no free slots.public void updateReservation(java.lang.String __reservationId, java.lang.String __query, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
reservationId
- The ID of the reservation to update.query
- The JSDL query.userCertificate
- The certificate of the user performing the
action.
java.lang.Exception
- If the reservation doesn't exist, if the user
cannot update the reservation (ownership), or if the reservation is not
empty, if the resource selection fails, if the resource
selection yields a lower number of candidates than requested in the JSDL,
if the selected nodes have no free slots.public void getReservationResources(java.lang.String __reservationId, java.security.cert.X509Certificate __userCertificate)
reservationId
- The ID of the reservation we are querying.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void getReservationResources(java.lang.String __reservationId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
reservationId
- The ID of the reservation we are querying.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void getReservationResources(java.lang.String __reservationId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
reservationId
- The ID of the reservation we are querying.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void attachJob(java.lang.String __reservationId, java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate)
reservationId
- The ID of the reservation to attach the job to.jobId
- The ID of the job to be attached to the job.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void attachJob(java.lang.String __reservationId, java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
reservationId
- The ID of the reservation to attach the job to.jobId
- The ID of the job to be attached to the job.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void attachJob(java.lang.String __reservationId, java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
reservationId
- The ID of the reservation to attach the job to.jobId
- The ID of the job to be attached to the job.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void createEmptyReservation(java.security.cert.X509Certificate __userCertificate)
java.lang.Exception
public void createEmptyReservation(java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
java.lang.Exception
public void createEmptyReservation(java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
java.lang.Exception
public void getReservationFromJob(java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate)
jobId
- The job ID we are querying the reservation of.userCertificate
- The certificate of the user attempting the action.
java.lang.Exception
- if the user does not have access to the reservation.public void getReservationFromJob(java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
jobId
- The job ID we are querying the reservation of.userCertificate
- The certificate of the user attempting the action.
java.lang.Exception
- if the user does not have access to the reservation.public void getReservationFromJob(java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
jobId
- The job ID we are querying the reservation of.userCertificate
- The certificate of the user attempting the action.
java.lang.Exception
- if the user does not have access to the reservation.public void releaseReservation(java.lang.String __reservationId, java.security.cert.X509Certificate __userCertificate)
reservationId
- The ID of the reservation to be released.userCertificate
- The certificate of the user performing the action.
If the parameter is null, the method will assert that the call came from
a trusted service.
java.lang.Exception
public void releaseReservation(java.lang.String __reservationId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
reservationId
- The ID of the reservation to be released.userCertificate
- The certificate of the user performing the action.
If the parameter is null, the method will assert that the call came from
a trusted service.
java.lang.Exception
public void releaseReservation(java.lang.String __reservationId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
reservationId
- The ID of the reservation to be released.userCertificate
- The certificate of the user performing the action.
If the parameter is null, the method will assert that the call came from
a trusted service.
java.lang.Exception
public void createReservation(java.lang.String __query, java.security.cert.X509Certificate __userCertificate)
query
- The content of the JSDL document containing the job
description and resource requirements.userCertificate
- The user that is making the reservation.
java.lang.Exception
- if the resource selection fails, if the resource
selection yields a lower number of candidates than requested in the JSDL,
if the selected nodes have no free slotspublic void createReservation(java.lang.String __query, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
query
- The content of the JSDL document containing the job
description and resource requirements.userCertificate
- The user that is making the reservation.
java.lang.Exception
- if the resource selection fails, if the resource
selection yields a lower number of candidates than requested in the JSDL,
if the selected nodes have no free slotspublic void createReservation(java.lang.String __query, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
query
- The content of the JSDL document containing the job
description and resource requirements.userCertificate
- The user that is making the reservation.
java.lang.Exception
- if the resource selection fails, if the resource
selection yields a lower number of candidates than requested in the JSDL,
if the selected nodes have no free slotspublic void getResourcesSuccess(java.util.ArrayList<CommunicationAddress> __result)
public void getResourcesSuccess(java.util.ArrayList<CommunicationAddress> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourcesSuccess(java.util.ArrayList<CommunicationAddress> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getResourcesFailure(java.lang.Exception __ex)
public void getResourcesFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourcesFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getAllFreeSlotsForSuccess(FreeSlots __result)
public void getAllFreeSlotsForSuccess(FreeSlots __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getAllFreeSlotsForSuccess(FreeSlots __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getAllFreeSlotsForFailure(java.lang.Exception __ex)
public void getAllFreeSlotsForFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getAllFreeSlotsForFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result)
public void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getResourceDescriptorsFailure(java.lang.Exception __ex)
public void getResourceDescriptorsFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourceDescriptorsFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void createReservationExplicitSuccess(java.lang.String __result)
public void createReservationExplicitSuccess(java.lang.String __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void createReservationExplicitSuccess(java.lang.String __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void createReservationExplicitFailure(java.lang.Exception __ex)
public void createReservationExplicitFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void createReservationExplicitFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void createReservationExplicit(java.util.ArrayList<ReservationRequest> __requests, java.security.cert.X509Certificate __userCertificate)
requests
- The collection of reservation requests directed at
individual local requests.userCertificate
- The certificate of the user creating the
reservation.
java.lang.Exception
public void createReservationExplicit(java.util.ArrayList<ReservationRequest> __requests, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
requests
- The collection of reservation requests directed at
individual local requests.userCertificate
- The certificate of the user creating the
reservation.
java.lang.Exception
public void createReservationExplicit(java.util.ArrayList<ReservationRequest> __requests, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
requests
- The collection of reservation requests directed at
individual local requests.userCertificate
- The certificate of the user creating the
reservation.
java.lang.Exception
public void createReservationsSuccess(java.util.ArrayList<java.lang.String> __result)
public void createReservationsSuccess(java.util.ArrayList<java.lang.String> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void createReservationsSuccess(java.util.ArrayList<java.lang.String> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void createReservationsFailure(java.lang.Exception __ex)
public void createReservationsFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void createReservationsFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void rollbackUntilSuccess(java.lang.Boolean __result)
public void rollbackUntilSuccess(java.lang.Boolean __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void rollbackUntilSuccess(java.lang.Boolean __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void rollbackUntilFailure(java.lang.Exception __ex)
public void rollbackUntilFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void rollbackUntilFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void updateReservationExplicit(java.lang.String __reservationId, java.util.ArrayList<UpdateRequest> __requests, java.security.cert.X509Certificate __userCertificate)
reservationId
- requests
- userCertificate
-
java.lang.Exception
public void updateReservationExplicit(java.lang.String __reservationId, java.util.ArrayList<UpdateRequest> __requests, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
reservationId
- requests
- userCertificate
-
java.lang.Exception
public void updateReservationExplicit(java.lang.String __reservationId, java.util.ArrayList<UpdateRequest> __requests, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
reservationId
- requests
- userCertificate
-
java.lang.Exception
public void updateReservationSuccess(java.lang.Boolean __result)
public void updateReservationSuccess(java.lang.Boolean __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void updateReservationSuccess(java.lang.Boolean __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void rollbackUntilSuccessBool(java.lang.Boolean __result)
public void rollbackUntilSuccessBool(java.lang.Boolean __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void rollbackUntilSuccessBool(java.lang.Boolean __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void rollbackUntilFailureBool(java.lang.Exception __ex)
public void rollbackUntilFailureBool(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void rollbackUntilFailureBool(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void updateReservationFailure(java.lang.Exception __ex)
public void updateReservationFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void updateReservationFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void releaseReservationLocalSuccess(java.util.ArrayList<java.lang.String> __result)
public void releaseReservationLocalSuccess(java.util.ArrayList<java.lang.String> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void releaseReservationLocalSuccess(java.util.ArrayList<java.lang.String> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void releaseReservationLocalFailure(java.lang.Exception __ex)
public void releaseReservationLocalFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void releaseReservationLocalFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void detachJob(java.lang.String __reservationId, java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate)
reservationId
- The ID of the reservation the job is to be detached
from.jobId
- The ID of the job to be detached from the reservation.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void detachJob(java.lang.String __reservationId, java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
reservationId
- The ID of the reservation the job is to be detached
from.jobId
- The ID of the job to be detached from the reservation.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void detachJob(java.lang.String __reservationId, java.lang.String __jobId, java.security.cert.X509Certificate __userCertificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
reservationId
- The ID of the reservation the job is to be detached
from.jobId
- The ID of the job to be detached from the reservation.userCertificate
- The certificate of the user attempting the
operation.
java.lang.Exception
public void getReservationsInfoSuccess(java.util.ArrayList<ReservationSlot> __result)
public void getReservationsInfoSuccess(java.util.ArrayList<ReservationSlot> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getReservationsInfoSuccess(java.util.ArrayList<ReservationSlot> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getReservationsInfoFailure(java.lang.Exception __ex)
public void getReservationsInfoFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getReservationsInfoFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getAllFreeSlotsFor(CommunicationAddress __nodeAddress, java.lang.String __resourceID, java.security.cert.X509Certificate __userCert)
resourceID
- public void getAllFreeSlotsFor(CommunicationAddress __nodeAddress, java.lang.String __resourceID, java.security.cert.X509Certificate __userCert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
resourceID
- public void getAllFreeSlotsFor(CommunicationAddress __nodeAddress, java.lang.String __resourceID, java.security.cert.X509Certificate __userCert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
resourceID
- public void getAllFreeSlotsForPxySuccess(FreeSlots __result)
public void getAllFreeSlotsForPxySuccess(FreeSlots __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getAllFreeSlotsForPxySuccess(FreeSlots __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getFreeSlotsFor(CommunicationAddress __nodeAddress, java.lang.String __resourceID, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, java.security.cert.X509Certificate __userCert)
resourceID
- from
- to
- public void getFreeSlotsFor(CommunicationAddress __nodeAddress, java.lang.String __resourceID, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, java.security.cert.X509Certificate __userCert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
resourceID
- from
- to
- public void getFreeSlotsFor(CommunicationAddress __nodeAddress, java.lang.String __resourceID, java.util.GregorianCalendar __from, java.util.GregorianCalendar __to, java.security.cert.X509Certificate __userCert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
resourceID
- from
- to
- public void getFreeSlotsForPxySuccess(FreeSlots __result)
public void getFreeSlotsForPxySuccess(FreeSlots __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getFreeSlotsForPxySuccess(FreeSlots __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |