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 class
PqStorageFactory.PqStorageFactoryException
-
Constructor Summary
Constructors Constructor Description PqStorageFactory()
-
Method Summary
Modifier and Type Method Description static PqStorage
getPqStorage(com.fishlib.io.logger.Logger log, com.fishlib.configuration.Configuration configuration)
Instantiate the appropriate PQ storage class based on thePQ_STORAGE_CLASS_PROP
property 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_PROP
property value.- Returns:
- a
PqStorage
instance - Throws:
PqStorageFactory.PqStorageFactoryException
-