Package com.google.gwt.core.ext
Interface CachedGeneratorResult
-
public interface CachedGeneratorResultAn interface to represent the cached results from a previous generator invocation. This is made available in theGeneratorContextto subsequent invocations of the same generator, when called under the same conditions (e.g. for the same rebind rule and requested type name).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetClientData(java.lang.String key)Retrieves cached client data by key.java.lang.StringgetResultTypeName()Returns the cached result rebind type name.longgetTimeGenerated()Returns the time this generator result was created.booleanisTypeCached(java.lang.String typeName)Check whether a given type is present in the cached result.
-
-
-
Method Detail
-
getClientData
java.lang.Object getClientData(java.lang.String key)
Retrieves cached client data by key.
-
getResultTypeName
java.lang.String getResultTypeName()
Returns the cached result rebind type name.
-
getTimeGenerated
long getTimeGenerated()
Returns the time this generator result was created.
-
isTypeCached
boolean isTypeCached(java.lang.String typeName)
Check whether a given type is present in the cached result.
-
-