Class Recycler

java.lang.Object
com.swiftmq.tools.gc.Recycler

public abstract class Recycler extends Object
  • Constructor Details

    • Recycler

      public Recycler(int maxSize)
    • Recycler

      public Recycler()
  • Method Details

    • createRecyclable

      protected abstract Recyclable createRecyclable()
    • checkOut

      public Recyclable checkOut()
    • checkIn

      public void checkIn(Recyclable recyclable)
    • get

      public Recyclable get(int index)
    • getUseList

      public Recyclable[] getUseList()
    • clear

      public void clear()