StorageSpec

public final class StorageSpec<I> implements Serializable

Attributes for accessing in-memory storage over in-process gRPC.

Parameters

<I>

the type of entity identifiers used by the storage

Properties

Link copied to clipboard
public final TypeUrl entityStateUrl
Link copied to clipboard
public final Class<I> idClass

Functions

Link copied to clipboard
public BoundedContextName context()
Obtains the name of the context served by the storage.
Link copied to clipboard
public TypeUrl entityStateUrl()
Obtains the URL of the entity state type.
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public BoundedContextName getBoundedContextName()
Obtains the name of the context.
Link copied to clipboard
public TypeUrl getEntityStateUrl()
Obtains the URL of the entity state type.
Link copied to clipboard
Obtains the class of identifiers used by the storage.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public Class<I> idClass()
Obtains the class of identifiers used by the storage.
Link copied to clipboard
public static StorageSpec<I> of<I>(BoundedContextName context, TypeUrl entityStateUrl, Class<I> idClass)
Link copied to clipboard
public String toString()