|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RetentionPolicy
Defines a retention policy for facts and hierarchies. This is used by the purge service that deletes data from the system as defined by the retention policy.
| Nested Class Summary | |
|---|---|
static class |
RetentionPolicy.Qualifier
Qualifier to tell if the retention policy applies to a fact or to a hierarchy. |
| Method Summary | |
|---|---|
java.lang.String |
getHierarchyName()
Returns the hierarchy name for which this retention policy applies. |
long |
getPurgeFrequencyPeriod()
Returns how often to run the purge job for this hierarchy. |
java.lang.String |
getPurgeTimeOfDay()
The time of day when the purge timer should trigger for this hierarchy. |
RetentionPolicy.Qualifier |
getQualifier()
Returns the associated qualifier |
long |
getRetentionPeriod()
Returns the period in milliseconds based on retention count and retention unit. |
TimeUnits.Unit |
getRetentionUnit()
Returns the unit of measurement of the retention count. |
long |
getRetentionUnitCount()
Returns the unit multiplier of the retention unit. |
| Method Detail |
|---|
RetentionPolicy.Qualifier getQualifier()
java.lang.String getHierarchyName()
long getRetentionUnitCount()
TimeUnits.Unit getRetentionUnit()
long getRetentionPeriod()
java.lang.String getPurgeTimeOfDay()
long getPurgeFrequencyPeriod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||