public abstract class TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse<S extends Enum<S>,C extends ComputeMetadataIncludingStatus<S>> extends Object implements com.google.common.base.Predicate<AtomicReference<C>>
| Modifier and Type | Field and Description | 
|---|---|
protected S | 
deletedStatus  | 
protected Logger | 
logger  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse(S deletedStatus)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
apply(AtomicReference<C> atomicResource)  | 
boolean | 
checkStatus(C resource)  | 
protected abstract C | 
refreshOrNull(C resource)  | 
protected Logger logger
protected TrueIfNullOrDeletedRefreshAndDoubleCheckOnFalse(S deletedStatus)
public boolean apply(AtomicReference<C> atomicResource)
apply in interface com.google.common.base.Predicate<AtomicReference<C extends ComputeMetadataIncludingStatus<S>>>public boolean checkStatus(C resource)
Copyright © 2009-2013 jclouds. All Rights Reserved.