Class NoopPersistentActorRepository

  • All Implemented Interfaces:
    org.elasticsoftware.elasticactors.state.PersistentActorRepository

    public final class NoopPersistentActorRepository
    extends Object
    implements org.elasticsoftware.elasticactors.state.PersistentActorRepository
    Author:
    Joost van de Wijgerd
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)  
      void delete​(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)  
      org.elasticsoftware.elasticactors.state.PersistentActor<org.elasticsoftware.elasticactors.ShardKey> get​(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)  
      void update​(org.elasticsoftware.elasticactors.ShardKey shard, org.elasticsoftware.elasticactors.state.PersistentActor persistentActor)  
      void updateAsync​(org.elasticsoftware.elasticactors.ShardKey shard, org.elasticsoftware.elasticactors.state.PersistentActor persistentActor, org.elasticsoftware.elasticactors.messaging.InternalMessage message, org.elasticsoftware.elasticactors.messaging.MessageHandlerEventListener messageHandlerEventListener)  
    • Constructor Detail

      • NoopPersistentActorRepository

        public NoopPersistentActorRepository()
    • Method Detail

      • contains

        public boolean contains​(org.elasticsoftware.elasticactors.ShardKey shard,
                                String actorId)
        Specified by:
        contains in interface org.elasticsoftware.elasticactors.state.PersistentActorRepository
      • update

        public void update​(org.elasticsoftware.elasticactors.ShardKey shard,
                           org.elasticsoftware.elasticactors.state.PersistentActor persistentActor)
                    throws IOException
        Specified by:
        update in interface org.elasticsoftware.elasticactors.state.PersistentActorRepository
        Throws:
        IOException
      • updateAsync

        public void updateAsync​(org.elasticsoftware.elasticactors.ShardKey shard,
                                org.elasticsoftware.elasticactors.state.PersistentActor persistentActor,
                                org.elasticsoftware.elasticactors.messaging.InternalMessage message,
                                org.elasticsoftware.elasticactors.messaging.MessageHandlerEventListener messageHandlerEventListener)
        Specified by:
        updateAsync in interface org.elasticsoftware.elasticactors.state.PersistentActorRepository
      • delete

        public void delete​(org.elasticsoftware.elasticactors.ShardKey shard,
                           String actorId)
        Specified by:
        delete in interface org.elasticsoftware.elasticactors.state.PersistentActorRepository
      • get

        public org.elasticsoftware.elasticactors.state.PersistentActor<org.elasticsoftware.elasticactors.ShardKey> get​(org.elasticsoftware.elasticactors.ShardKey shard,
                                                                                                                       String actorId)
                                                                                                                throws IOException
        Specified by:
        get in interface org.elasticsoftware.elasticactors.state.PersistentActorRepository
        Throws:
        IOException