Class PerTableCryptoServiceFactory
- java.lang.Object
-
- org.apache.accumulo.core.spi.crypto.PerTableCryptoServiceFactory
-
- All Implemented Interfaces:
CryptoServiceFactory
public class PerTableCryptoServiceFactory extends Object implements CryptoServiceFactory
A factory that loads a CryptoService based onTableId
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
RECOVERY_NAME_PROP
static String
TABLE_SERVICE_NAME_PROP
static String
WAL_NAME_PROP
-
Constructor Summary
Constructors Constructor Description PerTableCryptoServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
CryptoService
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
-
-
-
-
Method Detail
-
getService
public CryptoService getService(CryptoEnvironment environment, Map<String,String> props)
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()
-
-