public class DataCachePCDataGenerator extends PCDataGenerator
PCDataGenerator instance which generates properly
synchronized instances suitable for use in the cache. In addition,
proper timed behavior is added.| Modifier and Type | Class and Description |
|---|---|
static interface |
DataCachePCDataGenerator.Timed
Simple interface to give access to expiration time.
|
PCDataGenerator.DynamicPCData| Modifier and Type | Field and Description |
|---|---|
static String |
POSTFIX |
POLICY_EMPTY, POLICY_EXCEPTION, POLICY_SILENT| Constructor and Description |
|---|
DataCachePCDataGenerator(OpenJPAConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decorate(serp.bytecode.BCClass bc,
ClassMetaData meta)
Apply additional decoration to generated class.
|
protected void |
finish(PCDataGenerator.DynamicPCData data,
ClassMetaData meta)
Perform any final actions before the pcdata is returned to client code.
|
protected String |
getUniqueName(Class type)
Creates a unique name for the given type's pcdata implementation.
|
addVersionMethods, callAbstractPCData, declareClasses, decorate, generatePCData, getClassName, getConfiguration, getCreateFieldMethods, replaceType, setTarget, usesImplData, usesImplData, usesIntermediateaddBeanField, createFactory, forType, generateStorage, getFieldAccess, getFieldName, getWrapper, getWrapper, isCompatible, replaceMethod, throwExceptionpublic static final String POSTFIX
public DataCachePCDataGenerator(OpenJPAConfiguration conf)
protected String getUniqueName(Class type)
PCDataGeneratorgetUniqueName in class PCDataGeneratorprotected void finish(PCDataGenerator.DynamicPCData data, ClassMetaData meta)
PCDataGeneratorfinish in class PCDataGeneratorprotected void decorate(serp.bytecode.BCClass bc,
ClassMetaData meta)
PCDataGeneratordecorate in class PCDataGeneratorCopyright © 2006–2019 Apache Software Foundation. All rights reserved.