Search in sources :

Example 1 with VirtualResource

use of es.bsc.conn.types.VirtualResource in project compss by bsc-wdc.

the class DefaultNoSSHConnector method waitUntilCreation.

@Override
public CloudMethodResourceDescription waitUntilCreation(Object id, CloudMethodResourceDescription requested) throws ConnectorException {
    LOGGER.debug("Waiting for " + id);
    VirtualResource vr = connector.waitUntilCreation(id);
    CloudMethodResourceDescription cmrd = Converter.toCloudMethodResourceDescription(vr, requested);
    LOGGER.debug("Return cloud method resource description " + cmrd.toString());
    return cmrd;
}
Also used : CloudMethodResourceDescription(es.bsc.compss.types.resources.description.CloudMethodResourceDescription) VirtualResource(es.bsc.conn.types.VirtualResource)

Example 2 with VirtualResource

use of es.bsc.conn.types.VirtualResource in project compss by bsc-wdc.

the class DefaultSSHConnector method waitUntilCreation.

@Override
public CloudMethodResourceDescription waitUntilCreation(Object id, CloudMethodResourceDescription requested) throws ConnectorException {
    LOGGER.debug("Waiting for " + id);
    VirtualResource vr = connector.waitUntilCreation(id);
    CloudMethodResourceDescription cmrd = Converter.toCloudMethodResourceDescription(vr, requested);
    LOGGER.debug("Return cloud method resource description " + cmrd.toString());
    return cmrd;
}
Also used : CloudMethodResourceDescription(es.bsc.compss.types.resources.description.CloudMethodResourceDescription) VirtualResource(es.bsc.conn.types.VirtualResource)

Aggregations

CloudMethodResourceDescription (es.bsc.compss.types.resources.description.CloudMethodResourceDescription)2 VirtualResource (es.bsc.conn.types.VirtualResource)2