Class: PartitionGardener::PremakeMonthlyMaintenance
- Inherits:
-
DateRangeMaintenance
- Object
- DateRangeMaintenance
- PartitionGardener::PremakeMonthlyMaintenance
- Defined in:
- lib/partition_gardener/premake_monthly_maintenance.rb
Instance Method Summary collapse
Methods inherited from DateRangeMaintenance
#collapse_low_volume_future_month_partitions, #initialize, #split_future_month_from_current!, #split_pressured_future_month_partitions
Methods included from Naming
current_partition_name, default_partition_name, future_partition_name, open_partition_name, rebalance_staging_partition_name
Constructor Details
This class inherits a constructor from PartitionGardener::DateRangeMaintenance
Instance Method Details
#run! ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/partition_gardener/premake_monthly_maintenance.rb', line 3 def run! report_audit_warnings ensure_default_partition ensure_premade_months! apply_archive_retention! drain_default_partition end |