Class PqStorageFactory
java.lang.Object
com.illumon.iris.controller.pqstorage.PqStorageFactory
Instantiate the appropriate PQ storage class based on the
PQ_STORAGE_CLASS_PROP property value.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.PqStorageFactoryException Instantiate the appropriate PQ storage class based on thePQ_STORAGE_CLASS_PROPproperty value.- Returns:
- a
PqStorageinstance - Throws:
PqStorageFactory.PqStorageFactoryException
-