reconnectDockerCluster {DockerParallel} | R Documentation |
Reconnect to the cluster
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
reconnectDockerCluster(provider, cluster, verbose)
## S4 method for signature 'ANY'
reconnectDockerCluster(provider, cluster, verbose)
Arguments
provider |
S4 |
cluster |
S4 |
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
-
reconnectDockerCluster,ANY-method
: The default method, do nothing.