Class DoNotInsertBehavior<E>

java.lang.Object
kieker.monitoring.queue.behavior.DoNotInsertBehavior<E>
Type Parameters:
E - the type of the element which should be inserted into the queue.
All Implemented Interfaces:
InsertBehavior<E>

public class DoNotInsertBehavior<E> extends Object implements InsertBehavior<E>
Since:
1.13
Author:
Christian Wulf (chw)
  • Constructor Details

    • DoNotInsertBehavior

      public DoNotInsertBehavior()
  • Method Details

    • insert

      public boolean insert(E element)
      Specified by:
      insert in interface InsertBehavior<E>
      Parameters:
      element - element to be inserted
      Returns:
      true if the element after this element can be inserted, otherwise false.
    • toString

      public String toString()
      Overrides:
      toString in class Object