Class CassandraActorSystemEventListenerRepository
- java.lang.Object
-
- org.elasticsoftware.elasticactors.cassandra2.cluster.CassandraActorSystemEventListenerRepository
-
- All Implemented Interfaces:
ActorSystemEventListenerRepository
public final class CassandraActorSystemEventListenerRepository extends Object implements ActorSystemEventListenerRepository
- Author:
- Joost van de Wijgerd
-
-
Field Summary
Fields Modifier and Type Field Description static StringDELETE_QUERYstatic StringINSERT_QUERYstatic StringSELECT_QUERY
-
Constructor Summary
Constructors Constructor Description CassandraActorSystemEventListenerRepository(String clusterName, com.datastax.driver.core.Session cassandraSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(ShardKey shardKey, ActorSystemEvent event, ActorSystemEventListener listener)voiddelete(ShardKey shardKey, ActorSystemEvent event, ActorRef listenerId)List<ActorSystemEventListener>getAll(ShardKey shardKey, ActorSystemEvent event)
-
-
-
Field Detail
-
INSERT_QUERY
public static final String INSERT_QUERY
- See Also:
- Constant Field Values
-
DELETE_QUERY
public static final String DELETE_QUERY
- See Also:
- Constant Field Values
-
SELECT_QUERY
public static final String SELECT_QUERY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CassandraActorSystemEventListenerRepository
public CassandraActorSystemEventListenerRepository(String clusterName, com.datastax.driver.core.Session cassandraSession)
-
-
Method Detail
-
create
public void create(ShardKey shardKey, ActorSystemEvent event, ActorSystemEventListener listener)
- Specified by:
createin interfaceActorSystemEventListenerRepository
-
delete
public void delete(ShardKey shardKey, ActorSystemEvent event, ActorRef listenerId)
- Specified by:
deletein interfaceActorSystemEventListenerRepository
-
getAll
public List<ActorSystemEventListener> getAll(ShardKey shardKey, ActorSystemEvent event)
- Specified by:
getAllin interfaceActorSystemEventListenerRepository
-
-