Package org.nuxeo.runtime.stream
Class StreamProcessorDescriptor
java.lang.Object
org.nuxeo.runtime.stream.StreamProcessorDescriptor
- All Implemented Interfaces:
Descriptor
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Integer
boolean
protected ComputationPolicy
protected boolean
Class<? extends StreamProcessorTopology>
static String
protected boolean
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ComputationPolicy
getComputationPolicy
(StreamProcessorDescriptor.PolicyDescriptor policyDescriptor) getId()
The descriptor id, descriptors with same id are merged.boolean
boolean
isStart()
void
setEnabled
(boolean isEnabled) void
setStart
(boolean start) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
Field Details
-
RECOVERY_SKIP_FIRST_FAILURES_OPTION
-
isEnabled
protected boolean isEnabled -
start
protected boolean start -
DEFAULT_CONCURRENCY
-
name
-
config
-
klass
-
defaultConcurrency
-
defaultPartitions
-
defaultCodec
-
defaultExternal
public boolean defaultExternal -
options
-
computations
-
streams
-
policies
-
defaultPolicy
-
-
Constructor Details
-
StreamProcessorDescriptor
public StreamProcessorDescriptor()
-
-
Method Details
-
getPolicy
-
getComputationPolicy
protected ComputationPolicy getComputationPolicy(StreamProcessorDescriptor.PolicyDescriptor policyDescriptor) -
getDefaultPolicy
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean isEnabled) -
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
isStart
public boolean isStart() -
setStart
public void setStart(boolean start)
-