Class CassandraScheduledMessageRepository

java.lang.Object
org.elasticsoftware.elasticactors.cassandra.cluster.scheduler.CassandraScheduledMessageRepository
All Implemented Interfaces:
org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageRepository

public final class CassandraScheduledMessageRepository extends Object implements org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageRepository
Author:
Joost van de Wijgerd
  • Constructor Summary

    Constructors
    Constructor
    Description
    CassandraScheduledMessageRepository(String clusterName, me.prettyprint.cassandra.service.template.ColumnFamilyTemplate<me.prettyprint.hector.api.beans.Composite,me.prettyprint.hector.api.beans.Composite> columnFamilyTemplate, org.elasticsoftware.elasticactors.serialization.internal.ScheduledMessageDeserializer scheduledMessageDeserializer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(org.elasticsoftware.elasticactors.ShardKey shardKey, org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessage scheduledMessage)
     
    void
    delete(org.elasticsoftware.elasticactors.ShardKey shardKey, org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageKey scheduledMessageKey)
     
    List<org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessage>
    getAll(org.elasticsoftware.elasticactors.ShardKey shardKey)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CassandraScheduledMessageRepository

      public CassandraScheduledMessageRepository(String clusterName, me.prettyprint.cassandra.service.template.ColumnFamilyTemplate<me.prettyprint.hector.api.beans.Composite,me.prettyprint.hector.api.beans.Composite> columnFamilyTemplate, org.elasticsoftware.elasticactors.serialization.internal.ScheduledMessageDeserializer scheduledMessageDeserializer)
  • Method Details

    • create

      public void create(org.elasticsoftware.elasticactors.ShardKey shardKey, org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessage scheduledMessage)
      Specified by:
      create in interface org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageRepository
    • delete

      public void delete(org.elasticsoftware.elasticactors.ShardKey shardKey, org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageKey scheduledMessageKey)
      Specified by:
      delete in interface org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageRepository
    • getAll

      public List<org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessage> getAll(org.elasticsoftware.elasticactors.ShardKey shardKey)
      Specified by:
      getAll in interface org.elasticsoftware.elasticactors.cluster.scheduler.ScheduledMessageRepository