C D E F G H I J L M N O P R S V W 
All Classes All Packages

C

ClientActionContext - Interface in io.cloudstate.javasupport
Context that provides client actions, which include failing and forwarding.
CloudState - Class in io.cloudstate.javasupport
The CloudState class is the main interface to configuring entities to deploy, and subsequently starting a local server which will expose these entities to the CloudState Proxy Sidecar.
CloudState() - Constructor for class io.cloudstate.javasupport.CloudState
 
CloudStateAnnotation - Annotation Type in io.cloudstate.javasupport.impl
Mark annotation for all CloudState annotations
CommandContext - Interface in io.cloudstate.javasupport.crdt
Context for handling a command.
CommandContext - Interface in io.cloudstate.javasupport.eventsourced
An event sourced command context.
CommandHandler - Annotation Type in io.cloudstate.javasupport.crdt
Marks a method as a command handler.
CommandHandler - Annotation Type in io.cloudstate.javasupport.eventsourced
Marks a method as a command handler.
commandId() - Method in interface io.cloudstate.javasupport.crdt.CommandContext
The id of the command.
commandId() - Method in interface io.cloudstate.javasupport.crdt.StreamCancelledContext
The id of the command that the stream was for.
commandId() - Method in interface io.cloudstate.javasupport.eventsourced.CommandContext
The id of the command being executed.
commandName() - Method in interface io.cloudstate.javasupport.crdt.CommandContext
The name of the command.
commandName() - Method in interface io.cloudstate.javasupport.eventsourced.CommandContext
The name of the command being executed.
Context - Interface in io.cloudstate.javasupport
Root class of all contexts.
Crdt - Interface in io.cloudstate.javasupport.crdt
Root interface for all CRDTs.
CrdtContext - Interface in io.cloudstate.javasupport.crdt
Root context for all CRDT contexts.
CrdtCreationContext - Interface in io.cloudstate.javasupport.crdt
Context for CRDT creation.
CrdtEntity - Annotation Type in io.cloudstate.javasupport.crdt
A CRDT backed entity.
CrdtEntityFactory - Interface in io.cloudstate.javasupport.crdt
Low level interface for handling commands for CRDTs.
CrdtEntityHandler - Interface in io.cloudstate.javasupport.crdt
Low level interface for handling CRDT commands.
CrdtFactory - Interface in io.cloudstate.javasupport.crdt
Factory for creating CRDTs.
create(CrdtCreationContext) - Method in interface io.cloudstate.javasupport.crdt.CrdtEntityFactory
Create a CRDT entity handler for the given context.
create(EntityContext) - Method in interface io.cloudstate.javasupport.EntityFactory
Create an entity.
create(EventSourcedContext) - Method in interface io.cloudstate.javasupport.eventsourced.EventSourcedEntityFactory
Create an entity handler for the given context.
createCall(T) - Method in interface io.cloudstate.javasupport.ServiceCallRef
Create a call from this reference, using the given message as the message to pass to it when it's invoked.
createRunner() - Method in class io.cloudstate.javasupport.CloudState
Creates a CloudStateRunner using the currently configured services.
createRunner(Config) - Method in class io.cloudstate.javasupport.CloudState
Creates a CloudStateRunner using the currently configured services, using the supplied configuration.
CUSTOM - io.cloudstate.javasupport.crdt.LWWRegister.Clock
A custom clock.
CUSTOM_AUTO_INCREMENT - io.cloudstate.javasupport.crdt.LWWRegister.Clock
A custom clock, that automatically increments the custom value if the local clock value is greater than it.

D

decrement(long) - Method in interface io.cloudstate.javasupport.crdt.PNCounter
Decrement the counter.
decrement(Object, long) - Method in class io.cloudstate.javasupport.crdt.PNCounterMap
Decrement the counter at the given key by the given amount.
DEFAULT - io.cloudstate.javasupport.crdt.LWWRegister.Clock
The default clock, uses the current system time as the clock value.
delete() - Method in interface io.cloudstate.javasupport.crdt.CommandContext
Delete the CRDT.

E

effect(ServiceCall) - Method in interface io.cloudstate.javasupport.EffectContext
Invoke the referenced service call as an effect once this action is completed.
effect(ServiceCall, boolean) - Method in interface io.cloudstate.javasupport.EffectContext
Invoke the referenced service call as an effect once this action is completed.
EffectContext - Interface in io.cloudstate.javasupport
A context that allows instructing the proxy to perform a side effect.
emit(Object) - Method in interface io.cloudstate.javasupport.eventsourced.CommandContext
Emit the given event.
enable() - Method in interface io.cloudstate.javasupport.crdt.Flag
Enable this flag.
endStream() - Method in interface io.cloudstate.javasupport.crdt.SubscriptionContext
End this stream.
entityClass() - Method in interface io.cloudstate.javasupport.EntityFactory
Get the class of the entity.
EntityContext - Interface in io.cloudstate.javasupport
Root context for all contexts that pertain to entities, that is, things that are addressable via an entity id.
EntityFactory - Interface in io.cloudstate.javasupport
Entity factory for supporting DI environments.
entityId() - Method in interface io.cloudstate.javasupport.EntityContext
The id of the entity that this context is for.
EntityId - Annotation Type in io.cloudstate.javasupport
Annotation used to indicate that the annotated parameter accepts an entity id.
eventClass() - Method in annotation type io.cloudstate.javasupport.eventsourced.EventHandler
The event class.
EventContext - Interface in io.cloudstate.javasupport.eventsourced
Context for an event.
EventHandler - Annotation Type in io.cloudstate.javasupport.eventsourced
Marks a method as an event handler.
EventSourcedContext - Interface in io.cloudstate.javasupport.eventsourced
Root context for all event sourcing contexts.
EventSourcedEntity - Annotation Type in io.cloudstate.javasupport.eventsourced
An event sourced entity.
EventSourcedEntityCreationContext - Interface in io.cloudstate.javasupport.eventsourced
Creation context for EventSourcedEntity annotated entities.
EventSourcedEntityFactory - Interface in io.cloudstate.javasupport.eventsourced
Low level interface for handling events and commands on an entity.
EventSourcedEntityHandler - Interface in io.cloudstate.javasupport.eventsourced
Low level interface for handling events and commands on an entity.

F

fail(String) - Method in interface io.cloudstate.javasupport.ClientActionContext
Fail the command with the given message.
Flag - Interface in io.cloudstate.javasupport.crdt
A flag CRDT.
forward(ServiceCall) - Method in interface io.cloudstate.javasupport.ClientActionContext
Instruct the proxy to forward handling of this command to another entity served by this stateful function.

G

GCounter - Interface in io.cloudstate.javasupport.crdt
A Grow-only Counter.
get() - Method in interface io.cloudstate.javasupport.crdt.LWWRegister
Get the current value of the register.
getOrCreate(K, Function<CrdtFactory, V>) - Method in interface io.cloudstate.javasupport.crdt.ORMap
Get or create an entry in the map with the given key.
getSelfVote() - Method in interface io.cloudstate.javasupport.crdt.Vote
Get the current value for this nodes vote.
getValue() - Method in interface io.cloudstate.javasupport.crdt.GCounter
Get the current value of the counter.
getValue() - Method in interface io.cloudstate.javasupport.crdt.PNCounter
Get the current value of the counter.
getValue(Object) - Method in class io.cloudstate.javasupport.crdt.PNCounterMap
Get the value for the given key.
getVoters() - Method in interface io.cloudstate.javasupport.crdt.Vote
Get the number of voters participating in the vote (ie, the number of nodes in the cluster).
getVotesFor() - Method in interface io.cloudstate.javasupport.crdt.Vote
Get the number of votes for.
GSet<T> - Interface in io.cloudstate.javasupport.crdt
A Grow-only Set.

H

handleCommand(Any, CommandContext) - Method in interface io.cloudstate.javasupport.crdt.CrdtEntityHandler
Handle the given command.
handleCommand(Any, CommandContext) - Method in interface io.cloudstate.javasupport.eventsourced.EventSourcedEntityHandler
Handle the given command.
handleEvent(Any, EventContext) - Method in interface io.cloudstate.javasupport.eventsourced.EventSourcedEntityHandler
Handle the given event.
handleSnapshot(Any, SnapshotContext) - Method in interface io.cloudstate.javasupport.eventsourced.EventSourcedEntityHandler
Handle the given snapshot.
handleStreamedCommand(Any, StreamedCommandContext<Any>) - Method in interface io.cloudstate.javasupport.crdt.CrdtEntityHandler
Handle the given stream command.

I

increment(long) - Method in interface io.cloudstate.javasupport.crdt.GCounter
Increment the counter.
increment(long) - Method in interface io.cloudstate.javasupport.crdt.PNCounter
Increment the counter.
increment(Object, long) - Method in class io.cloudstate.javasupport.crdt.PNCounterMap
Increment the counter at the given key by the given amount.
io.cloudstate.javasupport - package io.cloudstate.javasupport
Root package for the CloudState Java Support library.
io.cloudstate.javasupport.crdt - package io.cloudstate.javasupport.crdt
Conflict-free Replicated Data Type support.
io.cloudstate.javasupport.eventsourced - package io.cloudstate.javasupport.eventsourced
Event Sourcing support.
io.cloudstate.javasupport.impl - package io.cloudstate.javasupport.impl
Internal implementation classes for CloudState Java Support.
isAtLeastOne() - Method in interface io.cloudstate.javasupport.crdt.Vote
Has at least one node voted true?
isEnabled() - Method in interface io.cloudstate.javasupport.crdt.Flag
Whether this flag is enabled.
isMajority() - Method in interface io.cloudstate.javasupport.crdt.Vote
Have a majority of nodes voted true?
isStreamed() - Method in interface io.cloudstate.javasupport.crdt.StreamedCommandContext
Whether the call is actually streamed.
isUnanimous() - Method in interface io.cloudstate.javasupport.crdt.Vote
Is the vote unanimous?

J

Jsonable - Annotation Type in io.cloudstate.javasupport
Indicates that this class can be serialized to/from JSON.

L

lookup(String, String, Class<T>) - Method in interface io.cloudstate.javasupport.ServiceCallFactory
Lookup a reference to the service call with the given name and method.
LWWRegister<T> - Interface in io.cloudstate.javasupport.crdt
A Last-Write-Wins Register.
LWWRegister.Clock - Enum in io.cloudstate.javasupport.crdt
A clock.
LWWRegisterMap<K,​V> - Class in io.cloudstate.javasupport.crdt
Convenience wrapper class for ORMap that uses LWWRegister's for values.
LWWRegisterMap(ORMap<K, LWWRegister<V>>) - Constructor for class io.cloudstate.javasupport.crdt.LWWRegisterMap
 

M

message() - Method in interface io.cloudstate.javasupport.ServiceCall
The message to pass to the call when the call is invoked.
method() - Method in interface io.cloudstate.javasupport.ServiceCallRef
The protobuf descriptor for the method.

N

name() - Method in annotation type io.cloudstate.javasupport.crdt.CommandHandler
The name of the command to handle.
name() - Method in annotation type io.cloudstate.javasupport.eventsourced.CommandHandler
The name of the command to handle.
newFlag() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new Flag.
newGCounter() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new GCounter.
newGSet() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new GSet.
newLWWRegister(T) - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new LWWRegister.
newORMap() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new ORMap.
newORSet() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new ORSet.
newPNCounter() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new PNCounter.
newVote() - Method in interface io.cloudstate.javasupport.crdt.CrdtFactory
Create a new Vote.

O

onCancel(Consumer<StreamCancelledContext>) - Method in interface io.cloudstate.javasupport.crdt.StreamedCommandContext
Register an on cancel callback for this command.
onChange(Function<SubscriptionContext, Optional<Output>>) - Method in interface io.cloudstate.javasupport.crdt.StreamedCommandContext
Register an on change callback for this command.
ORMap<K,​V extends Crdt> - Interface in io.cloudstate.javasupport.crdt
An Observed-Removed Map.
ORSet<T> - Interface in io.cloudstate.javasupport.crdt
An Observed-Removed Set.

P

persistenceId() - Method in annotation type io.cloudstate.javasupport.eventsourced.EventSourcedEntity
The name of the persistence id.
PNCounter - Interface in io.cloudstate.javasupport.crdt
A Positive-Negative Counter.
PNCounterMap<K> - Class in io.cloudstate.javasupport.crdt
Convenience wrapper class for ORMap that uses PNCounter's for values.
PNCounterMap(ORMap<K, PNCounter>) - Constructor for class io.cloudstate.javasupport.crdt.PNCounterMap
 
preferJavaProtobufs() - Method in class io.cloudstate.javasupport.CloudState
When locating protobufs, if both a Java and a ScalaPB generated class is found on the classpath, this specifies that Java should be preferred.
preferScalaProtobufs() - Method in class io.cloudstate.javasupport.CloudState
When locating protobufs, if both a Java and a ScalaPB generated class is found on the classpath, this specifies that Scala should be preferred.
put(K, Long) - Method in class io.cloudstate.javasupport.crdt.PNCounterMap
Not supported on PNCounter, use increment/decrement instead.
put(K, V) - Method in interface io.cloudstate.javasupport.crdt.ORMap
Not supported on ORMap.

R

ref() - Method in interface io.cloudstate.javasupport.ServiceCall
The reference to the call.
registerCrdtEntity(CrdtEntityFactory, Descriptors.ServiceDescriptor, Descriptors.FileDescriptor...) - Method in class io.cloudstate.javasupport.CloudState
Register an CRDt entity factory.
registerCrdtEntity(Class<?>, Descriptors.ServiceDescriptor, Descriptors.FileDescriptor...) - Method in class io.cloudstate.javasupport.CloudState
Register an annotated CRDT entity.
registerEventSourcedEntity(EventSourcedEntityFactory, Descriptors.ServiceDescriptor, String, int, Descriptors.FileDescriptor...) - Method in class io.cloudstate.javasupport.CloudState
Register an event sourced entity factor.
registerEventSourcedEntity(Class<?>, Descriptors.ServiceDescriptor, Descriptors.FileDescriptor...) - Method in class io.cloudstate.javasupport.CloudState
Register an annotated event sourced entity.
remove(Object) - Method in interface io.cloudstate.javasupport.crdt.GSet
Remove is not support on a Grow-only set.
REVERSE - io.cloudstate.javasupport.crdt.LWWRegister.Clock
A reverse clock, based on the system clock.

S

sequenceNumber() - Method in interface io.cloudstate.javasupport.eventsourced.CommandContext
The current sequence number of events in this entity.
sequenceNumber() - Method in interface io.cloudstate.javasupport.eventsourced.EventContext
The sequence number of the current event being processed.
sequenceNumber() - Method in interface io.cloudstate.javasupport.eventsourced.SnapshotContext
The sequence number of the last event that this snapshot includes.
ServiceCall - Interface in io.cloudstate.javasupport
Represents a call to a service, performed either as a forward, or as an effect.
serviceCallFactory() - Method in interface io.cloudstate.javasupport.Context
Get the service call factory for this stateful service.
ServiceCallFactory - Interface in io.cloudstate.javasupport
A service call factory.
ServiceCallRef<T> - Interface in io.cloudstate.javasupport
A reference to a call on a service.
set(T) - Method in interface io.cloudstate.javasupport.crdt.LWWRegister
Set the current value of the register, using the default clock.
set(T, LWWRegister.Clock, long) - Method in interface io.cloudstate.javasupport.crdt.LWWRegister
Set the current value of the register, using the given custom clock and clock value if required.
snapshot(SnapshotContext) - Method in interface io.cloudstate.javasupport.eventsourced.EventSourcedEntityHandler
Snapshot the object.
Snapshot - Annotation Type in io.cloudstate.javasupport.eventsourced
Marks a method as a snapshot method.
SnapshotContext - Interface in io.cloudstate.javasupport.eventsourced
A snapshot context.
snapshotEvery() - Method in annotation type io.cloudstate.javasupport.eventsourced.EventSourcedEntity
Specifies how snapshots of the entity state should be made: Zero means use default from configuration file.
SnapshotHandler - Annotation Type in io.cloudstate.javasupport.eventsourced
Marks a method as a snapshot handler.
start() - Method in class io.cloudstate.javasupport.CloudState
Starts a server with the configured entities.
start(Config) - Method in class io.cloudstate.javasupport.CloudState
Starts a server with the configured entities, using the supplied configuration.
state(Class<T>) - Method in interface io.cloudstate.javasupport.crdt.CrdtContext
The current CRDT, if it's been created.
StreamCancelledContext - Interface in io.cloudstate.javasupport.crdt
Context for a stream cancelled event.
StreamedCommandContext<Output> - Interface in io.cloudstate.javasupport.crdt
Context for handling a streamed command.
SubscriptionContext - Interface in io.cloudstate.javasupport.crdt
The context for a subscription, passed with every invocation of a StreamedCommandContext.onChange(Function) callback.

V

valueOf(String) - Static method in enum io.cloudstate.javasupport.crdt.LWWRegister.Clock
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.cloudstate.javasupport.crdt.LWWRegister.Clock
Returns an array containing the constants of this enum type, in the order they are declared.
vote(boolean) - Method in interface io.cloudstate.javasupport.crdt.Vote
Update this nodes vote to the given value.
Vote - Interface in io.cloudstate.javasupport.crdt
A Vote CRDT.

W

withClassLoader(ClassLoader) - Method in class io.cloudstate.javasupport.CloudState
Sets the ClassLoader to be used for reflective access, the default value is the ClassLoader of the CloudState class.
withTypeUrlPrefix(String) - Method in class io.cloudstate.javasupport.CloudState
Sets the type URL prefix to be used when serializing and deserializing types from and to Protobyf Any values.
C D E F G H I J L M N O P R S V W 
All Classes All Packages