Class PerTableCryptoServiceFactory
java.lang.Object
org.apache.accumulo.core.spi.crypto.PerTableCryptoServiceFactory
- All Implemented Interfaces:
CryptoServiceFactory
A factory that loads a CryptoService based on
TableId
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
getService
(CryptoEnvironment environment, Map<String, String> props) Return the appropriate CryptoService.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.accumulo.core.spi.crypto.CryptoServiceFactory
newCryptoService
-
Field Details
-
WAL_NAME_PROP
-
RECOVERY_NAME_PROP
-
TABLE_SERVICE_NAME_PROP
-
-
Constructor Details
-
PerTableCryptoServiceFactory
public PerTableCryptoServiceFactory()
-
-
Method Details
-
getService
Description copied from interface:CryptoServiceFactory
Return the appropriate CryptoService.- Specified by:
getService
in interfaceCryptoServiceFactory
- Parameters:
environment
- CryptoEnvironment containing a variety of informationprops
- configuration- Returns:
- CryptoService based on the environment and configuration
-
getCount
public int getCount()
-