Class SourcePrioritizedRunnable
- java.lang.Object
-
- org.elasticsearch.common.util.concurrent.PrioritizedRunnable
-
- org.elasticsearch.cluster.service.SourcePrioritizedRunnable
-
- All Implemented Interfaces:
java.lang.Comparable<PrioritizedRunnable>
,java.lang.Runnable
- Direct Known Subclasses:
TaskBatcher.BatchedTask
public abstract class SourcePrioritizedRunnable extends PrioritizedRunnable
PrioritizedRunnable that also has a source string
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
source
-
Constructor Summary
Constructors Constructor Description SourcePrioritizedRunnable(Priority priority, java.lang.String source)
-
Method Summary
-
Methods inherited from class org.elasticsearch.common.util.concurrent.PrioritizedRunnable
compareTo, getAgeInMillis, getCreationDateInNanos, priority, wrap
-
-
-
-
Constructor Detail
-
SourcePrioritizedRunnable
public SourcePrioritizedRunnable(Priority priority, java.lang.String source)
-
-