A B C D E F G H I N O R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractActor - Class in io.dapr.actors.runtime
-
Represents the base class for actors.
- AbstractActor(ActorRuntimeContext, ActorId) - Constructor for class io.dapr.actors.runtime.AbstractActor
-
Instantiates a new Actor.
- ActorClient - Class in io.dapr.actors.client
-
Holds a client for Dapr sidecar communication.
- ActorClient() - Constructor for class io.dapr.actors.client.ActorClient
-
Instantiates a new channel for Dapr sidecar communication.
- ActorFactory<T extends AbstractActor> - Interface in io.dapr.actors.runtime
-
Creates an actor of a given type.
- ActorId - Class in io.dapr.actors
-
The ActorId represents the identity of an actor within an actor service.
- ActorId(String) - Constructor for class io.dapr.actors.ActorId
-
Initializes a new instance of the ActorId class with the id passed in.
- ActorMethod - Annotation Type in io.dapr.actors
- ActorMethodContext - Class in io.dapr.actors.runtime
-
Contains information about the method that is invoked by actor runtime.
- ActorObjectSerializer - Class in io.dapr.actors.runtime
-
Serializes and deserializes internal objects.
- ActorObjectSerializer() - Constructor for class io.dapr.actors.runtime.ActorObjectSerializer
- ActorProxy - Interface in io.dapr.actors.client
-
Proxy to communicate to a given Actor instance in Dapr.
- ActorProxyBuilder<T> - Class in io.dapr.actors.client
-
Builder to generate an ActorProxy instance.
- ActorProxyBuilder(Class<T>, ActorClient) - Constructor for class io.dapr.actors.client.ActorProxyBuilder
-
Instantiates a new builder for a given Actor type, using
DefaultObjectSerializerby default. - ActorProxyBuilder(String, Class<T>, ActorClient) - Constructor for class io.dapr.actors.client.ActorProxyBuilder
-
Instantiates a new builder for a given Actor type, using
DefaultObjectSerializerby default. - ActorRuntime - Class in io.dapr.actors.runtime
-
Contains methods to register actor types.
- ActorRuntimeConfig - Class in io.dapr.actors.runtime
-
Represents the configuration for the Actor Runtime.
- ActorRuntimeContext<T extends AbstractActor> - Class in io.dapr.actors.runtime
-
Provides the context for the Actor's runtime.
- ActorStateChange - Class in io.dapr.actors.runtime
-
Represents a state change for an actor.
- ActorStateChangeKind - Enum in io.dapr.actors.runtime
-
Represents an actor's state change.
- ActorStateManager - Class in io.dapr.actors.runtime
-
Manages state changes of a given Actor instance.
- ActorTrace - Class in io.dapr.actors
-
Class to emit trace log messages.
- ActorTrace() - Constructor for class io.dapr.actors.ActorTrace
- ActorType - Annotation Type in io.dapr.actors
-
Annotation to define Actor class.
- ActorUtils - Class in io.dapr.actors
- ActorUtils() - Constructor for class io.dapr.actors.ActorUtils
- add(String, T) - Method in class io.dapr.actors.runtime.ActorStateManager
-
Adds a given key/value to the Actor's state store's cache.
- ADD - io.dapr.actors.runtime.ActorStateChangeKind
-
State needs to be added.
B
- build(ActorId) - Method in class io.dapr.actors.client.ActorProxyBuilder
-
Instantiates a new ActorProxy.
C
- clear() - Method in class io.dapr.actors.runtime.ActorStateManager
-
Clears all changes not yet saved to state store.
- close() - Method in class io.dapr.actors.client.ActorClient
- close() - Method in class io.dapr.actors.runtime.ActorRuntime
- compareTo(ActorId) - Method in class io.dapr.actors.ActorId
-
Compares this instance with a specified {link #ActorId} object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified actorId.
- contains(String) - Method in class io.dapr.actors.runtime.ActorStateManager
-
Checks if a given state exists in state store or cache.
- createActor(ActorRuntimeContext<T>, ActorId) - Method in interface io.dapr.actors.runtime.ActorFactory
-
Creates an Actor.
- createRandom() - Static method in class io.dapr.actors.ActorId
-
Creates a new ActorId with a random id.
D
- deactivate(String, String) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Deactivates an actor for an actor type with given actor id.
- deserialize(byte[], Class<T>) - Method in class io.dapr.actors.runtime.ActorObjectSerializer
E
- equals(Object) - Method in class io.dapr.actors.ActorId
-
Checks if this instance is equals to the other instance.
F
- findActorTypeName(Class<?>) - Static method in class io.dapr.actors.ActorUtils
-
Finds the actor type name for the given class or interface.
G
- get(String, TypeRef<T>) - Method in class io.dapr.actors.runtime.ActorStateManager
-
Fetches the most recent value for the given state, including cached value.
- get(String, Class<T>) - Method in class io.dapr.actors.runtime.ActorStateManager
-
Fetches the most recent value for the given state, including cached value.
- getActorId() - Method in interface io.dapr.actors.client.ActorProxy
-
Returns the ActorId associated with the proxy object.
- getActorIdleTimeout() - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Gets the duration for Actors' timeout.
- getActorScanInterval() - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Gets the duration to scan for Actors.
- getActorStateManager() - Method in class io.dapr.actors.runtime.AbstractActor
-
Returns the state store manager for this Actor.
- getActorType() - Method in interface io.dapr.actors.client.ActorProxy
-
Returns actor implementation type of the actor associated with the proxy object.
- getCallType() - Method in class io.dapr.actors.runtime.ActorMethodContext
-
Gets the call type to be used.
- getConfig() - Method in class io.dapr.actors.runtime.ActorRuntime
-
Gets the Actor configuration for this runtime.
- getDrainBalancedActors() - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Gets whether balanced actors should be drained.
- getDrainOngoingCallTimeout() - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Gets the timeout to drain ongoing calls.
- getId() - Method in class io.dapr.actors.runtime.AbstractActor
-
Returns the id of the actor.
- getInstance() - Static method in class io.dapr.actors.runtime.ActorRuntime
-
Returns an ActorRuntime object.
- getMethodName() - Method in class io.dapr.actors.runtime.ActorMethodContext
-
Gets the name of the method invoked by actor runtime.
- getRemindersStoragePartitions() - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Gets the number of storage partitions for Actor reminders.
- getStateType() - Method in interface io.dapr.actors.runtime.Remindable
-
Gets the type for state object.
H
- hashCode() - Method in class io.dapr.actors.ActorId
-
Calculates the hash code for this ActorId.
I
- invoke(String, String, String, byte[]) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Invokes the specified method for the actor, this is mainly used for cross language invocation.
- invokeMethod(String) - Method in interface io.dapr.actors.client.ActorProxy
-
Invokes an Actor method on Dapr.
- invokeMethod(String, TypeRef<T>) - Method in interface io.dapr.actors.client.ActorProxy
-
Invokes an Actor method on Dapr.
- invokeMethod(String, Class<T>) - Method in interface io.dapr.actors.client.ActorProxy
-
Invokes an Actor method on Dapr.
- invokeMethod(String, Object) - Method in interface io.dapr.actors.client.ActorProxy
-
Invokes an Actor method on Dapr.
- invokeMethod(String, Object, TypeRef<T>) - Method in interface io.dapr.actors.client.ActorProxy
-
Invokes an Actor method on Dapr.
- invokeMethod(String, Object, Class<T>) - Method in interface io.dapr.actors.client.ActorProxy
-
Invokes an Actor method on Dapr.
- invokeReminder(String, String, String, byte[]) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Fires a reminder for the Actor.
- invokeTimer(String, String, String, byte[]) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Fires a timer for the Actor.
- io.dapr.actors - package io.dapr.actors
- io.dapr.actors.client - package io.dapr.actors.client
- io.dapr.actors.runtime - package io.dapr.actors.runtime
N
- name() - Method in annotation type io.dapr.actors.ActorMethod
-
Actor's method name.
- name() - Method in annotation type io.dapr.actors.ActorType
-
Overrides Actor's name.
- NONE - io.dapr.actors.runtime.ActorStateChangeKind
-
No change in state.
O
- onActivate() - Method in class io.dapr.actors.runtime.AbstractActor
-
Callback function invoked after an Actor has been activated.
- onDeactivate() - Method in class io.dapr.actors.runtime.AbstractActor
-
Callback function invoked after an Actor has been deactivated.
- onPostActorMethod(ActorMethodContext) - Method in class io.dapr.actors.runtime.AbstractActor
-
Callback function invoked after method is invoked.
- onPreActorMethod(ActorMethodContext) - Method in class io.dapr.actors.runtime.AbstractActor
-
Callback function invoked before method is invoked.
R
- receiveReminder(String, T, Duration, Duration) - Method in interface io.dapr.actors.runtime.Remindable
-
The reminder call back invoked when an actor reminder is triggered.
- registerActor(Class<T>) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Registers an actor with the runtime, using
DefaultObjectSerializerandDefaultActorFactory. - registerActor(Class<T>, ActorFactory<T>) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Registers an actor with the runtime, using
DefaultObjectSerializer. - registerActor(Class<T>, ActorFactory<T>, DaprObjectSerializer, DaprObjectSerializer) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Registers an actor with the runtime.
- registerActor(Class<T>, DaprObjectSerializer, DaprObjectSerializer) - Method in class io.dapr.actors.runtime.ActorRuntime
-
Registers an actor with the runtime.
- registerActorTimer(String, String, T, Duration, Duration) - Method in class io.dapr.actors.runtime.AbstractActor
-
Registers a Timer for the actor.
- registerReminder(String, T, Duration, Duration) - Method in class io.dapr.actors.runtime.AbstractActor
-
Registers a reminder for this Actor.
- Remindable<T> - Interface in io.dapr.actors.runtime
-
Interface that actors must implement to consume reminders registered using RegisterReminderAsync.
- remove(String) - Method in class io.dapr.actors.runtime.ActorStateManager
-
Removes a given state from state store's cache.
- REMOVE - io.dapr.actors.runtime.ActorStateChangeKind
-
State needs to be removed.
- returns() - Method in annotation type io.dapr.actors.ActorMethod
-
Actor's method return type.
S
- save() - Method in class io.dapr.actors.runtime.ActorStateManager
-
Saves all changes to state store.
- saveState() - Method in class io.dapr.actors.runtime.AbstractActor
-
Saves the state of this Actor.
- serialize(Object) - Method in class io.dapr.actors.runtime.ActorObjectSerializer
- serializeConfig() - Method in class io.dapr.actors.runtime.ActorRuntime
-
Gets the Actor configuration for this runtime.
- set(String, T) - Method in class io.dapr.actors.runtime.ActorStateManager
-
Updates a given key/value pair in the state store's cache.
- setActorIdleTimeout(Duration) - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Sets the duration for Actors' timeout.
- setActorScanInterval(Duration) - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Sets the duration to scan for Actors.
- setDrainBalancedActors(Boolean) - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Sets whether balanced actors should be drained.
- setDrainOngoingCallTimeout(Duration) - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Sets the timeout to drain ongoing calls.
- setRemindersStoragePartitions(Integer) - Method in class io.dapr.actors.runtime.ActorRuntimeConfig
-
Sets the number of storage partitions for Actor reminders.
T
- toString() - Method in class io.dapr.actors.ActorId
-
Returns the String representation of this Actor's identifier.
U
- unregisterReminder(String) - Method in class io.dapr.actors.runtime.AbstractActor
-
Unregisters a Reminder.
- unregisterTimer(String) - Method in class io.dapr.actors.runtime.AbstractActor
-
Unregisters an Actor timer.
- UPDATE - io.dapr.actors.runtime.ActorStateChangeKind
-
State needs to be updated.
V
- valueOf(String) - Static method in enum io.dapr.actors.runtime.ActorStateChangeKind
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.dapr.actors.runtime.ActorStateChangeKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withObjectSerializer(DaprObjectSerializer) - Method in class io.dapr.actors.client.ActorProxyBuilder
-
Instantiates a new builder for a given Actor type, using
DefaultObjectSerializer. - writeError(String, String, String, Object...) - Method in class io.dapr.actors.ActorTrace
-
Writes an error trace log.
- writeInfo(String, String, String, Object...) - Method in class io.dapr.actors.ActorTrace
-
Writes an information trace log.
- writeWarning(String, String, String, Object...) - Method in class io.dapr.actors.ActorTrace
-
Writes an warning trace log.
All Classes All Packages