Backend {parabar} | R Documentation |
Backend
Description
This is an abstract class that serves as a base class for all concrete backend implementations. It defines the common properties that all concrete backends require.
Details
This class cannot be instantiated. It needs to be extended by concrete
subclasses that implement the pure virtual methods. Instances of concrete
backend implementations can be conveniently obtained using the
BackendFactory
class.
Super class
parabar::Service
-> Backend
Active bindings
cluster
The cluster object used by the backend. For
SyncBackend
objects, this is a cluster object created byparallel::makeCluster()
. ForAsyncBackend
objects, this is a permanentR
session created bycallr::r_session
that contains theparallel::makeCluster()
cluster object.supports_progress
A boolean value indicating whether the backend implementation supports progress tracking.
active
A boolean value indicating whether the backend implementation has an active cluster.
Methods
Public methods
Inherited methods
Method new()
Create a new Backend
object.
Usage
Backend$new()
Returns
Instantiating this call will throw an error.
Method clone()
The objects of this class are cloneable with this method.
Usage
Backend$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
Service
, SyncBackend
, AsyncBackend
,
BackendFactory
, and Context
.