Package org.nuxeo.runtime.stream
Class StreamProcessorDescriptor.PolicyDescriptor
java.lang.Object
org.nuxeo.runtime.stream.StreamProcessorDescriptor.PolicyDescriptor
- All Implemented Interfaces:
Descriptor
- Enclosing class:
- StreamProcessorDescriptor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Integer
static final Duration
static final Duration
static final Duration
static final int
Class<? extends StreamComputationPolicy>
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
The descriptor id, descriptors with same id are merged.protected int
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
-
DEFAULT_MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES- See Also:
-
DEFAULT_DELAY
-
DEFAULT_MAX_DELAY
-
DEFAULT_BATCH_CAPACITY
-
DEFAULT_BATCH_THRESHOLD
-
name
-
maxRetries
-
delay
-
maxDelay
-
continueOnFailure
-
skipFirstFailures
-
klass
-
batchCapacity
-
batchThreshold
-
-
Constructor Details
-
PolicyDescriptor
public PolicyDescriptor()
-
-
Method Details
-
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
-
getSkipFirstFailures
protected int getSkipFirstFailures() -
createPolicyBuilder
-