public enum CachingStrategy extends Enum<CachingStrategy>
| Enum Constant and Description |
|---|
CACHE_FIRST |
CACHE_FIRST_ASYNCH_REMOTE |
CACHE_FORCED_FIRST_ASYNCH_REMOTE |
CACHE_ONLY |
NO_CACHE |
REMOTE_FIRST |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
execute(CachedWebService cacheWebService,
Parser parser) |
static CachingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachingStrategy NO_CACHE
public static final CachingStrategy CACHE_FIRST
public static final CachingStrategy CACHE_FIRST_ASYNCH_REMOTE
public static final CachingStrategy CACHE_FORCED_FIRST_ASYNCH_REMOTE
public static final CachingStrategy CACHE_ONLY
public static final CachingStrategy REMOTE_FIRST
public static CachingStrategy[] values()
for (CachingStrategy c : CachingStrategy.values()) System.out.println(c);
public static CachingStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract <T> T execute(CachedWebService cacheWebService, Parser parser)
Copyright © 2014. All rights reserved.