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.
parabar::Service
-> Backend
cluster
The cluster object used by the backend. For
SyncBackend
objects, this is a cluster object created by
parallel::makeCluster()
. For AsyncBackend
objects,
this is a permanent R
session created by callr::r_session
that
contains the parallel::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.
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.
Service
, SyncBackend
, AsyncBackend
,
BackendFactory
, and Context
.