Class MapPreparedStatementCache

java.lang.Object
org.springframework.data.cassandra.core.cql.support.MapPreparedStatementCache
All Implemented Interfaces:
PreparedStatementCache

@Deprecated public class MapPreparedStatementCache extends Object implements PreparedStatementCache
Deprecated.
since 3.2, the Cassandra driver has a built-in prepared statement cache with makes external caching of prepared statements superfluous.
PreparedStatementCache backed by a Map cache. Defaults to simple ConcurrentHashMap caching.

Statements are cached with a key consisting of session name, keyspace and the cql text. Statement options (idempotency, timeouts) apply from the statement that was initially prepared.

Since:
2.0
Author:
Mark Paluch, Aldo Bongio