public class CacheSupportMetaInfo extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
enabled |
org.osgl.Osgl.Function<ActionContext,String> |
keyGenerator |
boolean |
supportPost |
int |
ttl |
Modifier and Type | Method and Description |
---|---|
String |
cacheKey(ActionContext context) |
static CacheSupportMetaInfo |
disabled() |
static CacheSupportMetaInfo |
enabled(org.osgl.Osgl.Function<ActionContext,String> keyGenerator,
int ttl,
boolean supportPost) |
public org.osgl.Osgl.Function<ActionContext,String> keyGenerator
public boolean enabled
public int ttl
public boolean supportPost
public String cacheKey(ActionContext context)
public static CacheSupportMetaInfo disabled()
public static CacheSupportMetaInfo enabled(org.osgl.Osgl.Function<ActionContext,String> keyGenerator, int ttl, boolean supportPost)
Copyright © 2014-2017 ActFramework. All Rights Reserved.