public CassandraMessageDAO(Keyspace keyspace)
{
this.keyspace = keyspace;
// Create BlobStorage instance with AES encryption and Deflate compression
CompressionHandler compressionHandler =
Configurator.isBlobStoreCompressionEnabled() ? new DeflateCompressionHandler() : null;
EncryptionHandler encryptionHandler =
Configurator.isBlobStoreEncryptionEnabled() ? new AESEncryptionHandler() : null;
this.blobStorage = new BlobStorageMediator(compressionHandler, encryptionHandler);