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, usesIntermediate
addBeanField, createFactory, forType, generateStorage, getFieldAccess, getFieldName, getWrapper, getWrapper, isCompatible, replaceMethod, throwException
public static final String POSTFIX
public DataCachePCDataGenerator(OpenJPAConfiguration conf)
protected String getUniqueName(Class type)
PCDataGenerator
getUniqueName
in class PCDataGenerator
protected void finish(PCDataGenerator.DynamicPCData data, ClassMetaData meta)
PCDataGenerator
finish
in class PCDataGenerator
protected void decorate(serp.bytecode.BCClass bc, ClassMetaData meta)
PCDataGenerator
decorate
in class PCDataGenerator
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.