Class StateVerifier

java.lang.Object
com.bumptech.glide.util.pool.StateVerifier

public abstract class StateVerifier extends Object
Verifies that the job is not in the recycled state.
  • Method Details

    • newInstance

      @NonNull public static StateVerifier newInstance()
      Creates a new StateVerifier instance.
    • throwIfRecycled

      public abstract void throwIfRecycled()
      Throws an exception if we believe our object is recycled and inactive (i.e. is currently in an object pool).