public class PopulatedSnapshotCacheHandler extends Object implements DataCacheHandler
PARAMETER_DATA_CACHE_HANDLER, PROPERTY_DATA_PERSISTABLE, PROPERTY_DATA_RECORDABLE, PROPERTY_INCLUDED| Constructor and Description |
|---|
PopulatedSnapshotCacheHandler(DataSnapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
DataRecorder |
createDataRecorder() |
DataSnapshot |
getDataSnapshot() |
boolean |
isRecordingEnabled() |
boolean |
isSnapshotPopulated() |
public PopulatedSnapshotCacheHandler(DataSnapshot snapshot)
public boolean isRecordingEnabled()
isRecordingEnabled in interface DataCacheHandlerpublic DataRecorder createDataRecorder()
createDataRecorder in interface DataCacheHandlerpublic boolean isSnapshotPopulated()
isSnapshotPopulated in interface DataCacheHandlerpublic DataSnapshot getDataSnapshot()
getDataSnapshot in interface DataCacheHandlerCopyright © 2017. All rights reserved.