Class PqStorageFactory
java.lang.Object
com.illumon.iris.controller.pqstorage.PqStorageFactory
public class PqStorageFactory extends Object
Instantiate the appropriate PQ storage class based on the
PQ_STORAGE_CLASS_PROP property value.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPqStorageFactory.PqStorageFactoryException -
Constructor Summary
Constructors Constructor Description PqStorageFactory() -
Method Summary
Modifier and Type Method Description static PqStoragegetPqStorage(com.fishlib.io.logger.Logger log, com.fishlib.configuration.Configuration configuration)Instantiate the appropriate PQ storage class based on thePQ_STORAGE_CLASS_PROPproperty value.
-
Constructor Details
-
PqStorageFactory
public PqStorageFactory()
-
-
Method Details
-
getPqStorage
public static PqStorage getPqStorage(@NotNull com.fishlib.io.logger.Logger log, com.fishlib.configuration.Configuration configuration) throws PqStorageFactory.PqStorageFactoryExceptionInstantiate the appropriate PQ storage class based on thePQ_STORAGE_CLASS_PROPproperty value.- Returns:
- a
PqStorageinstance - Throws:
PqStorageFactory.PqStorageFactoryException
-