public class CacheHint extends EQLHint
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
CacheHint.CacheScope
キャッシュのスコープを表す列挙型です。
|
| コンストラクタと説明 |
|---|
CacheHint() |
CacheHint(CacheHint.CacheScope scope) |
CacheHint(CacheHint.CacheScope scope,
int ttl) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ASTNode |
accept(ASTTransformer transformer) |
void |
accept(HintVisitor visitor) |
boolean |
equals(java.lang.Object obj) |
CacheHint.CacheScope |
getScope() |
int |
getTTL() |
int |
hashCode() |
void |
setScope(CacheHint.CacheScope scope)
キャッシュのスコープを指定。
|
void |
setTTL(int ttl)
CacheScope.GLOBALの場合のキャッシュの有効期間(秒)を指定。
|
java.lang.String |
toString() |
externalHintpublic CacheHint()
public CacheHint(CacheHint.CacheScope scope)
public CacheHint(CacheHint.CacheScope scope, int ttl)
public CacheHint.CacheScope getScope()
public void setScope(CacheHint.CacheScope scope)
scope - public int getTTL()
public void setTTL(int ttl)
ttl - public ASTNode accept(ASTTransformer transformer)
public void accept(HintVisitor visitor)
public int hashCode()
public boolean equals(java.lang.Object obj)