Package com.bumptech.glide.util.pool
Class StateVerifier
- java.lang.Object
-
- com.bumptech.glide.util.pool.StateVerifier
-
public abstract class StateVerifier extends java.lang.ObjectVerifies that the job is not in the recycled state.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static StateVerifiernewInstance()Creates a newStateVerifierinstance.abstract voidthrowIfRecycled()Throws an exception if we believe our object is recycled and inactive (i.e.
-
-
-
Method Detail
-
newInstance
@NonNull public static StateVerifier newInstance()
Creates a newStateVerifierinstance.
-
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).
-
-