Class NoopPersistentActorRepository
- java.lang.Object
-
- org.elasticsoftware.elasticactors.test.state.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
-
-
Constructor Summary
Constructors Constructor Description NoopPersistentActorRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)voiddelete(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)org.elasticsoftware.elasticactors.state.PersistentActor<org.elasticsoftware.elasticactors.ShardKey>get(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)voidupdate(org.elasticsoftware.elasticactors.ShardKey shard, org.elasticsoftware.elasticactors.state.PersistentActor persistentActor)voidupdateAsync(org.elasticsoftware.elasticactors.ShardKey shard, org.elasticsoftware.elasticactors.state.PersistentActor persistentActor, org.elasticsoftware.elasticactors.messaging.InternalMessage message, org.elasticsoftware.elasticactors.messaging.MessageHandlerEventListener messageHandlerEventListener)
-
-
-
Method Detail
-
contains
public boolean contains(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)- Specified by:
containsin interfaceorg.elasticsoftware.elasticactors.state.PersistentActorRepository
-
update
public void update(org.elasticsoftware.elasticactors.ShardKey shard, org.elasticsoftware.elasticactors.state.PersistentActor persistentActor) throws IOException- Specified by:
updatein interfaceorg.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:
updateAsyncin interfaceorg.elasticsoftware.elasticactors.state.PersistentActorRepository
-
delete
public void delete(org.elasticsoftware.elasticactors.ShardKey shard, String actorId)- Specified by:
deletein interfaceorg.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:
getin interfaceorg.elasticsoftware.elasticactors.state.PersistentActorRepository- Throws:
IOException
-
-