Package com.xebialabs.xlrelease.mbeans
Class ArchivingSettingsManagerMBean
- java.lang.Object
-
- com.xebialabs.xlrelease.mbeans.ArchivingSettingsManagerMBean
-
@Component @ManagedResource(objectName="com.xebialabs.xlrelease.settings:name=Archiving", description="MBean to configure the release archiving service") public class ArchivingSettingsManagerMBean extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ArchivingSettingsManagerMBean(ArchivingSettingsManager archivingSettingsManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetEnabled()java.lang.StringgetJobCronSchedule()intgetMaxSecondsPerRun()booleangetPreArchivingEnabled()intgetPurgingMaxSecondsPerRun()intgetPurgingSearchPageSize()intgetPurgingSleepSecondsBetweenReleases()java.lang.IntegergetReleaseAgeToDeleteFromJcr()intgetSearchPageSize()intgetSleepSecondsBetweenReleases()voidsetEnabled(boolean val)voidsetMaxSecondsPerRun(int val)voidsetPreArchivingEnabled(boolean val)voidsetPurgingMaxSecondsPerRun(int val)voidsetPurgingSearchPageSize(int val)voidsetPurgingSleepSecondsBetweenReleases(int val)voidsetSearchPageSize(int val)voidsetSleepSecondsBetweenReleases(int val)
-
-
-
Constructor Detail
-
ArchivingSettingsManagerMBean
@Autowired public ArchivingSettingsManagerMBean(ArchivingSettingsManager archivingSettingsManager)
-
-
Method Detail
-
getPreArchivingEnabled
@ManagedAttribute(description="Enabled pre-archiving") public boolean getPreArchivingEnabled()
-
setPreArchivingEnabled
@ManagedAttribute(description="Enabled pre-archiving") public void setPreArchivingEnabled(boolean val)
-
getEnabled
@ManagedAttribute(description="Enable archiving") public boolean getEnabled()
-
setEnabled
@ManagedAttribute(description="Enable archiving") public void setEnabled(boolean val)
-
getSearchPageSize
@ManagedAttribute(description="Number of archivable releases to retrieve from the repository in a single search query") public int getSearchPageSize()
-
setSearchPageSize
@ManagedAttribute(description="Number of archivable releases to retrieve from the repository in a single search query") public void setSearchPageSize(int val)
-
getMaxSecondsPerRun
@ManagedAttribute(description="Number of seconds that archiving is allowed to run before it is paused until the next time it is scheduled") public int getMaxSecondsPerRun()
-
setMaxSecondsPerRun
@ManagedAttribute(description="Number of seconds that archiving is allowed to run before it is paused until the next time it is scheduled") public void setMaxSecondsPerRun(int val)
-
getPurgingSleepSecondsBetweenReleases
@ManagedAttribute(description="Number of seconds to sleep between purging individual releases within a single run") public int getPurgingSleepSecondsBetweenReleases()
-
setPurgingSleepSecondsBetweenReleases
@ManagedAttribute(description="Number of seconds to sleep between purging individual releases within a single run") public void setPurgingSleepSecondsBetweenReleases(int val)
-
getPurgingSearchPageSize
@ManagedAttribute(description="Number of purging releases to retrieve from the repository in a single search query") public int getPurgingSearchPageSize()
-
setPurgingSearchPageSize
@ManagedAttribute(description="Number of purging releases to retrieve from the repository in a single search query") public void setPurgingSearchPageSize(int val)
-
getPurgingMaxSecondsPerRun
@ManagedAttribute(description="Number of seconds that purging is allowed to run before it is paused until the next time it is scheduled") public int getPurgingMaxSecondsPerRun()
-
setPurgingMaxSecondsPerRun
@ManagedAttribute(description="Number of seconds that purging is allowed to run before it is paused until the next time it is scheduled") public void setPurgingMaxSecondsPerRun(int val)
-
getSleepSecondsBetweenReleases
@ManagedAttribute(description="Number of seconds to sleep between archiving individual releases within a single run") public int getSleepSecondsBetweenReleases()
-
setSleepSecondsBetweenReleases
@ManagedAttribute(description="Number of seconds to sleep between archiving individual releases within a single run") public void setSleepSecondsBetweenReleases(int val)
-
getJobCronSchedule
@ManagedAttribute(description="Archiving job CRON schedule, configurable in deployit-defaults.properties") public java.lang.String getJobCronSchedule()
-
getReleaseAgeToDeleteFromJcr
@ManagedAttribute(description="Archive completed releases older than (in hours, configurable in UI)") public java.lang.Integer getReleaseAgeToDeleteFromJcr()
-
-