diff --git a/edexOsgi/com.raytheon.uf.edex.maintenance/src/com/raytheon/uf/edex/maintenance/DataStoreRepacker.java b/edexOsgi/com.raytheon.uf.edex.maintenance/src/com/raytheon/uf/edex/maintenance/DataStoreRepacker.java index f47d99ac7f..922264427e 100644 --- a/edexOsgi/com.raytheon.uf.edex.maintenance/src/com/raytheon/uf/edex/maintenance/DataStoreRepacker.java +++ b/edexOsgi/com.raytheon.uf.edex.maintenance/src/com/raytheon/uf/edex/maintenance/DataStoreRepacker.java @@ -1,21 +1,3 @@ -package com.raytheon.uf.edex.maintenance; - -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import java.util.Set; - -import com.raytheon.uf.common.dataplugin.PluginProperties; -import com.raytheon.uf.common.datastorage.DataStoreFactory; -import com.raytheon.uf.common.datastorage.IDataStore; -import com.raytheon.uf.common.datastorage.StorageException; -import com.raytheon.uf.common.datastorage.StorageProperties.Compression; -import com.raytheon.uf.common.status.IUFStatusHandler; -import com.raytheon.uf.common.status.UFStatus; -import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.edex.core.dataplugin.PluginRegistry; -import com.raytheon.uf.edex.pointdata.PointDataPluginDao; - /** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. @@ -35,9 +17,27 @@ import com.raytheon.uf.edex.pointdata.PointDataPluginDao; * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ +package com.raytheon.uf.edex.maintenance; + +import java.io.File; +import java.util.Set; + +import com.raytheon.uf.common.dataplugin.PluginProperties; +import com.raytheon.uf.common.datastorage.DataStoreFactory; +import com.raytheon.uf.common.datastorage.IDataStore; +import com.raytheon.uf.common.datastorage.StorageException; +import com.raytheon.uf.common.datastorage.StorageProperties.Compression; +import com.raytheon.uf.common.status.IUFStatusHandler; +import com.raytheon.uf.common.status.UFStatus; +import com.raytheon.uf.common.status.UFStatus.Priority; +import com.raytheon.uf.common.time.util.TimeUtil; +import com.raytheon.uf.common.util.registry.GenericRegistry; +import com.raytheon.uf.common.util.registry.RegistryException; +import com.raytheon.uf.edex.core.dataplugin.PluginRegistry; +import com.raytheon.uf.edex.pointdata.PointDataPluginDao; /** - * Repacks all point data hdf5 files. + * Repacks all data hdf5 files. * *
* @@ -48,18 +48,21 @@ import com.raytheon.uf.edex.pointdata.PointDataPluginDao; * Nov 1, 2011 njensen Initial creation * Jan 14, 2013 1469 bkowal Removed the hdf5 data directory * Mar 21, 2013 1814 rjpeter Fixed logging of exception. + * Feb 16, 2016 5363 dhladky Added ability to register non-point data plugins for repack. + * ** * @author njensen * @version 1.0 */ -public class DataStoreRepacker { +public class DataStoreRepacker extends + GenericRegistry