Package net.sf.jasperreports.data.cache
Class PopulatedSnapshotCacheHandler
- java.lang.Object
-
- net.sf.jasperreports.data.cache.PopulatedSnapshotCacheHandler
-
- All Implemented Interfaces:
DataCacheHandler
public class PopulatedSnapshotCacheHandler extends Object implements DataCacheHandler
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.data.cache.DataCacheHandler
PARAMETER_DATA_CACHE_HANDLER, PROPERTY_DATA_PERSISTABLE, PROPERTY_DATA_RECORDABLE, PROPERTY_INCLUDED
-
-
Constructor Summary
Constructors Constructor Description PopulatedSnapshotCacheHandler(DataSnapshot snapshot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataRecorder
createDataRecorder()
DataSnapshot
getDataSnapshot()
boolean
isRecordingEnabled()
boolean
isSnapshotPopulated()
-
-
-
Constructor Detail
-
PopulatedSnapshotCacheHandler
public PopulatedSnapshotCacheHandler(DataSnapshot snapshot)
-
-
Method Detail
-
isRecordingEnabled
public boolean isRecordingEnabled()
- Specified by:
isRecordingEnabled
in interfaceDataCacheHandler
-
createDataRecorder
public DataRecorder createDataRecorder()
- Specified by:
createDataRecorder
in interfaceDataCacheHandler
-
isSnapshotPopulated
public boolean isSnapshotPopulated()
- Specified by:
isSnapshotPopulated
in interfaceDataCacheHandler
-
getDataSnapshot
public DataSnapshot getDataSnapshot()
- Specified by:
getDataSnapshot
in interfaceDataCacheHandler
-
-