final class CloudState extends AnyRef
- Alphabetic
- By Inheritance
- CloudState
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CloudState()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def preferJavaProtobufs(): CloudState
- def preferScalaProtobufs(): CloudState
-
def
registerCrdtEntity(factory: CrdtEntityFactory, descriptor: ServiceDescriptor, additionalDescriptors: <repeated...>[FileDescriptor]): CloudState
Register an CRDt entity factory.
Register an CRDt entity factory.
This is a low level API intended for custom (eg, non reflection based) mechanisms for implementing the entity.
- factory
The CRDT factory.
- descriptor
The descriptor for the service that this entity implements.
- additionalDescriptors
Any additional descriptors that should be used to look up protobuf types when needed.
- returns
This stateful service builder.
-
def
registerCrdtEntity(entityClass: Class[_], descriptor: ServiceDescriptor, additionalDescriptors: <repeated...>[FileDescriptor]): CloudState
Register an annotated CRDT entity.
Register an annotated CRDT entity.
The entity class must be annotated with
io.cloudstate.javasupport.crdt.CrdtEntity.- entityClass
The entity class.
- descriptor
The descriptor for the service that this entity implements.
- additionalDescriptors
Any additional descriptors that should be used to look up protobuf types when needed.
- returns
This stateful service builder.
-
def
registerEventSourcedEntity(factory: EventSourcedEntityFactory, descriptor: ServiceDescriptor, persistenceId: String, snapshotEvery: Int, additionalDescriptors: <repeated...>[FileDescriptor]): CloudState
Register an event sourced entity factor.
Register an event sourced entity factor.
This is a low level API intended for custom (eg, non reflection based) mechanisms for implementing the entity.
- factory
The event sourced factory.
- descriptor
The descriptor for the service that this entity implements.
- persistenceId
The persistence id for this entity.
- snapshotEvery
Specifies how snapshots of the entity state should be made: Zero means use default from configuration file. (Default) Any negative value means never snapshot. Any positive value means snapshot at-or-after that number of events.
- additionalDescriptors
Any additional descriptors that should be used to look up protobuf types when needed.
- returns
This stateful service builder.
-
def
registerEventSourcedEntity(entityClass: Class[_], descriptor: ServiceDescriptor, additionalDescriptors: <repeated...>[FileDescriptor]): CloudState
Register an annotated event sourced entity.
Register an annotated event sourced entity.
The entity class must be annotated with
io.cloudstate.javasupport.eventsourced.EventSourcedEntity.- entityClass
The entity class.
- descriptor
The descriptor for the service that this entity implements.
- additionalDescriptors
Any additional descriptors that should be used to look up protobuf types when needed.
- returns
This stateful service builder.
- def start(): CompletionStage[Done]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withClassLoader(classLoader: ClassLoader): CloudState
- def withTypeUrlPrefix(prefix: String): CloudState