Package dev.restate.sdk.common.syscalls
Class ServiceDefinition<O>
java.lang.Object
dev.restate.sdk.common.syscalls.ServiceDefinition<O>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
HandlerDefinition<?,
?, O> getHandler
(String name) Collection<HandlerDefinition<?,
?, O>> int
hashCode()
static <O> ServiceDefinition<O>
of
(String name, ServiceType ty, Collection<HandlerDefinition<?, ?, O>> handlers)
-
Method Details
-
getServiceName
-
getServiceType
-
getHandlers
-
getHandler
-
equals
-
hashCode
public int hashCode() -
of
public static <O> ServiceDefinition<O> of(String name, ServiceType ty, Collection<HandlerDefinition<?, ?, O>> handlers)
-