E
- the type of the element which should be inserted into the queue.public class TerminateOnFailedInsertBehavior<E> extends java.lang.Object implements InsertBehavior<E>
Constructor and Description |
---|
TerminateOnFailedInsertBehavior(java.util.concurrent.BlockingQueue<E> queue) |
public TerminateOnFailedInsertBehavior(java.util.concurrent.BlockingQueue<E> queue)
public boolean insert(E element)
insert
in interface InsertBehavior<E>
true
if the element after this element
can be inserted, otherwise false
.public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2017 Kieker Project, http://kieker-monitoring.net