reconnectDockerCluster: Reconnect to the cluster

Description Usage Arguments Details Value Functions

Description

Reconnect to the cluster with the same job queue name. It is provider's responsibility to recover the data in the cluster, see details. The default method will do nothing.

Usage

1
2
3
4
reconnectDockerCluster(provider, cluster, verbose)

## S4 method for signature 'ANY'
reconnectDockerCluster(provider, cluster, verbose)

Arguments

provider

S4 CloudProvider object. The service provider.

cluster

S4 DockerCluster object.

verbose

Integer. The verbose level, default 1.

Details

This function is designed for reconnecting to the same cluster on the cloud from a new DockerCluster object. Since the new object does not have the data used by the old DockerCluster object, it is provider's responsibility to obtain them from the cloud(Mostly from the server container).

The data for a DockerCluster object can be extracted by getDockerStaticData() and set by setDockerStaticData(). It is recommended can extract and store the data in the server container during the deployment process and recover the cluster data from the server container when this function is called.

Value

No return value

Functions


DockerParallel documentation built on June 23, 2021, 5:07 p.m.