org.nuiton.wikitty.storage
Class WikittyStorage.DataStatistic
java.lang.Object
org.nuiton.wikitty.storage.WikittyStorage.DataStatistic
- Enclosing interface:
- WikittyStorage
public static class WikittyStorage.DataStatistic
- extends Object
- Since:
- 3.0.5
- See Also:
WikittyStorage.getDataStatistic(org.nuiton.wikitty.services.WikittyTransaction)
|
Method Summary |
long |
getActiveWikitties()
Return number of non deleted wikitties, or negative value if this
information can't be retrieved |
long |
getDeletedWikitties()
Return number of deleted wikitties, or negative value if this
information can't be retrieved |
long |
getTotalWikitties()
Return number of non deleted and deleted wikitties, or negative value
if this information can't be retrieved |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
activeWikitties
protected long activeWikitties
deletedWikitties
protected long deletedWikitties
WikittyStorage.DataStatistic
public WikittyStorage.DataStatistic()
- Use this constructor when your implementation don't support statistic
WikittyStorage.DataStatistic
public WikittyStorage.DataStatistic(long activeWikitties,
long deletedWikitties)
getActiveWikitties
public long getActiveWikitties()
- Return number of non deleted wikitties, or negative value if this
information can't be retrieved
- Returns:
getDeletedWikitties
public long getDeletedWikitties()
- Return number of deleted wikitties, or negative value if this
information can't be retrieved
- Returns:
getTotalWikitties
public long getTotalWikitties()
- Return number of non deleted and deleted wikitties, or negative value
if this information can't be retrieved
- Returns:
Copyright © 2009-2011 CodeLutin. All Rights Reserved.