org.nuiton.wikitty.storage
Class WikittyStorage.DataStatistic

java.lang.Object
  extended by 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)

Field Summary
protected  long activeWikitties
           
protected  long deletedWikitties
           
 
Constructor Summary
WikittyStorage.DataStatistic()
          Use this constructor when your implementation don't support statistic
WikittyStorage.DataStatistic(long activeWikitties, long deletedWikitties)
           
 
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
 

Field Detail

activeWikitties

protected long activeWikitties

deletedWikitties

protected long deletedWikitties
Constructor Detail

WikittyStorage.DataStatistic

public WikittyStorage.DataStatistic()
Use this constructor when your implementation don't support statistic


WikittyStorage.DataStatistic

public WikittyStorage.DataStatistic(long activeWikitties,
                                    long deletedWikitties)
Method Detail

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-2012 CodeLutin. All Rights Reserved.