Package kieker.monitoring.queue.behavior
Class CountOnFailedInsertBehavior<E>
java.lang.Object
kieker.monitoring.queue.behavior.CountOnFailedInsertBehavior<E>
- Type Parameters:
E- the type of the element which should be inserted into the queue.
- All Implemented Interfaces:
InsertBehavior<E>
- Since:
- 1.13
- Author:
- "Christian Wulf"
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CountOnFailedInsertBehavior
-
-
Method Details
-
insert
- Specified by:
insertin interfaceInsertBehavior<E>- Parameters:
element- element to be inserted- Returns:
trueif the element after thiselementcan be inserted, otherwisefalse.
-
getNumFailedInserts
public long getNumFailedInserts() -
toString
-