public interface IDAO extends IChangeable, IAutoSaveAware
| Modifier and Type | Interface and Description |
|---|---|
static class |
IDAO.EMode |
| Modifier and Type | Method and Description |
|---|---|
int |
getInitCount() |
org.joda.time.DateTime |
getLastInitDateTime() |
org.joda.time.DateTime |
getLastReadDateTime() |
org.joda.time.DateTime |
getLastWriteDateTime() |
int |
getReadCount() |
int |
getWriteCount() |
void |
writeToFileOnPendingChanges()
This method is called to persist the content in disk in case there are
pending changes.
|
hasPendingChangesbeginWithoutAutoSave, endWithoutAutoSave, isAutoSaveEnabled, performWithoutAutoSave, performWithoutAutoSavevoid writeToFileOnPendingChanges()
@Nonnegative int getInitCount()
@Nullable org.joda.time.DateTime getLastInitDateTime()
null if it wasn't read before. Usually this field is
not persistent and only is valid until the application ends.@Nonnegative int getReadCount()
@Nullable org.joda.time.DateTime getLastReadDateTime()
null if it wasn't read before. Usually this field is
not persistent and only is valid until the application ends.@Nonnegative int getWriteCount()
@Nullable org.joda.time.DateTime getLastWriteDateTime()
null if it wasn't written before. Usually this field
is not persistent and only is valid until the application ends.Copyright © 2014–2015 Philip Helger. All rights reserved.