|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.plugin.activitystream.impl.ActivityStreamCleaner
public final class ActivityStreamCleaner
Manager for the activitystream cleaning feature. The cleaning consist in deleting old events to prevent infinite growth of the activitystream table in the database.
| Method Summary | |
|---|---|
static ActivityStreamCleaner |
getInstance()
|
static int |
getNumberOfDaysToKeep(com.xpn.xwiki.XWikiContext context)
|
void |
init(com.xpn.xwiki.XWikiContext context)
Method that must be called on plugin init. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ActivityStreamCleaner getInstance()
public static int getNumberOfDaysToKeep(com.xpn.xwiki.XWikiContext context)
context - the XWiki context
public void init(com.xpn.xwiki.XWikiContext context)
throws com.xpn.xwiki.XWikiException
context - the XWiki context
com.xpn.xwiki.XWikiException - if the job creation failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||