Class TriggerEventQueue
- java.lang.Object
-
- org.apache.solr.cloud.autoscaling.TriggerEventQueue
-
public class TriggerEventQueue extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEQUEUE_TIME
static String
ENQUEUE_TIME
-
Constructor Summary
Constructors Constructor Description TriggerEventQueue(SolrCloudManager cloudManager, String triggerName, Stats stats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
offerEvent(TriggerEvent event)
TriggerEvent
peekEvent()
TriggerEvent
pollEvent()
-
-
-
Field Detail
-
ENQUEUE_TIME
public static final String ENQUEUE_TIME
- See Also:
- Constant Field Values
-
DEQUEUE_TIME
public static final String DEQUEUE_TIME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TriggerEventQueue
public TriggerEventQueue(SolrCloudManager cloudManager, String triggerName, Stats stats) throws IOException
- Throws:
IOException
-
-
Method Detail
-
offerEvent
public boolean offerEvent(TriggerEvent event)
-
peekEvent
public TriggerEvent peekEvent()
-
pollEvent
public TriggerEvent pollEvent()
-
-