Class TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse<S extends Enum<S>,C extends ComputeMetadataIncludingStatus<S>>
- java.lang.Object
-
- org.jclouds.compute.predicates.internal.TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse<S,C>
-
- All Implemented Interfaces:
com.google.common.base.Predicate<AtomicReference<C>>
,Predicate<AtomicReference<C>>
- Direct Known Subclasses:
AtomicImageDeleted
,AtomicNodeTerminated
public abstract class TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse<S extends Enum<S>,C extends ComputeMetadataIncludingStatus<S>> extends Object implements com.google.common.base.Predicate<AtomicReference<C>>
-
-
Field Summary
Fields Modifier and Type Field Description protected S
deletedStatus
protected Logger
logger
-
Constructor Summary
Constructors Modifier Constructor Description protected
TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse(S deletedStatus)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
apply(AtomicReference<C> atomicResource)
boolean
checkStatus(C resource)
protected abstract C
refreshOrNull(C resource)
-
-
-
Constructor Detail
-
TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse
protected TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse(S deletedStatus)
-
-