Package kieker.monitoring.queue.behavior
Interface InsertBehavior<E>
- Type Parameters:
E
- the type of the element which should be inserted into the queue.
- All Known Implementing Classes:
BlockOnFailedInsertBehavior
,BypassQueueBehavior
,CountOnFailedInsertBehavior
,DoNotInsertBehavior
,TerminateOnFailedInsertBehavior
public interface InsertBehavior<E>
- Since:
- 1.13
- Author:
- Christian Wulf (chw)
-
Method Details
-
insert
- Parameters:
element
- element to be inserted- Returns:
true
if the element after thiselement
can be inserted, otherwisefalse
.- Since:
- 1.13
-