Class LimitBuilder

java.lang.Object
com.swiftmq.impl.streams.comp.memory.limit.LimitBuilder

public class LimitBuilder extends Object
Factory to create Memory Limits.
Author:
IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
  • Constructor Details

  • Method Details

    • count

      public CountLimit count(int n)
      Returns a new CountLimit.
      Parameters:
      n - Number of maximum Messages in this Memory
      Returns:
      CountLimit
    • time

      public TimeLimit time()
      Returns a new TimeLimit
      Returns:
      TimeLimit
    • timeUnitChange

      public TimeUnitChangeLimit timeUnitChange()
      Returns a new TimeUnitChangeLimit
      Returns:
      TimeUnitChangeLimit