Module datarush.commons
Package com.pervasive.datarush.cal
Provides interfaces the define the "cluster abstraction layer".
NOTE: the interfaces in this package should be considered unstable.
The cluster abstraction layer
allows the DataRush engine to be implemented on any cluster. In order to provide an implementation
for a new type of cluster one needs to register a new
ClusterProvider
and, optionally, a StorageManagerProvider
.-
Interface Summary Interface Description ClusterProvider Extension point to register cluster providers for new schemes.DistributedCallable<T> A distributed equivalent of aCallable
.DistributedCallableBatch<R> A distributed equivalent of aCallable
.DistributedCallableContext Distributed context passed toDistributedCallable.init(DistributedCallableContext)
.DistributedCallableContextBatch Distributed context passed toDistributedCallableBatch.init(DistributedCallableContextBatch)
.DistributedExecutorService Distributed equivalent of theExecutorService
concept.JobCallable<T> JobContext Context available to job.JobExecutorService Client-side API for submitting units of work to the job master.JobHistoryService MonitoredCallable<T> Extension ofCallable
that provides a way to get its current status prior to execution completion.MonitoredFuture<T> Extension ofFuture
that allows the client to query for the partial status.PseudoDistributedExecutorService Subinterface of DistributedExecutorService for running in pseudo-distributed mode.ResultMerger<R> StorageManager A manager of intermediate storage.StorageManagerProvider Extension point to register a newStorageManager
type. -
Class Summary Class Description AttributeScope A session qualifier to provide uniqueness of session attributes.ClasspathSpecifier The classpath specifies for a job.ClasspathSpecifier.Element An element of a classpath.ClusterProviderManager Facade to lookup providers from META-INF/services.ClusterSpecifier A "URL-like" entity that identifies a cluster.DistributedCommand<T> Convenient base class forDistributedCallable
's that do not support monitoring/partial results.DistributedCommandBatch<T> Convenient base class forDistributedCallableBatch
's that do not support monitoring/partial results.ExecutionOptions Miscellaneous execution options.ExecutionUtil Miscellaneous utilities related toDistributedExecutorService
and its subordinate classes.JobExecutorServiceFactory Factory for creating newJobExecutorService
's.JobInformation Basic job information that contains the job name, id, and the user that submitted the job.JobLogInfo JobLogInfo.LogInfo JobServerInformation JobSpecifier Rollup of all parameters needed to launch a jobNodeAllocationPlan Represents the initial node allocation.NodeAllocationPlan.AssignmentPlan Assignment details for a particular node ID.NodeAllocationState Reflects the current state of node allocation, which takes into account failed nodes.NodeAllocationState.AssignmentState Assignment details for a particular node ID.NodeInformation Contains node and host informationNodeInformationMapping Contains host information associated with the nodes in the cluster that the current job is running on.OSGIOptions Extra options for an OSGI classpath elementPartitionInstanceInfo Information pertaining to an instance of a partitioning operation.ResourceAllocation Describes the resource allocation for a job server process.ResourceSpecifier Resource specifier for the resources needed by a job.SessionAttribute<T> Provides a key for a session attribute and, optionally, an initial valueStorageBucket Convenient pairing ofStorageBucketId
and it's associatedStorageManager
.StorageBucketId A storage bucket represents one unit of work to be exchanged by nodes in the cluster.StorageManagers Utilities for creating storage managersStorageManagerSpecifier Rollup of the various parameters needed to create aStorageManager
.StoragePlanner An allocator ofStorageBucketId
's.VirtualNodeID Identifies a "virtual node" in a cluster. -
Enum Summary Enum Description CacheScopeSpecifier Enumeration of possible caches forElement
's.JobStatus VirtualNodeType Enumeration of non-parallel locationsWorkerRole -
Exception Summary Exception Description BatchExecutionException Subclass of DistributedExecutionException that contains all the exceptions that occurred in one batch.DistributedExecutionException AnExecutionException
in a distributed context.