OrleansService
Handle
interface OrleansService { asClient(): OrleansServiceClient; withBroadcastChannel(name: string): OrleansService; withClusterId(clusterId: string): OrleansService; withClustering(provider: IResourceWithConnectionString): OrleansService; withDevelopmentClustering(): OrleansService; withGrainDirectory( name: string, provider: IResourceWithConnectionString): OrleansService; withGrainStorage( name: string, provider: IResourceWithConnectionString): OrleansService; withMemoryGrainStorage(name: string): OrleansService; withMemoryReminders(): OrleansService; withMemoryStreaming(name: string): OrleansService; withReminders(provider: IResourceWithConnectionString): OrleansService; withServiceId(serviceId: string): OrleansService; withStreaming( name: string, provider: IResourceWithConnectionString): OrleansService;}13 members
Methods
method
asClientReturns a model of the clients of an Orleans service.
asClient(): OrleansServiceClientReturns
OrleansServiceClientmethod
withBroadcastChannelAdds a broadcast channel provider to the Orleans service.
withBroadcastChannel(name: string): OrleansServiceParameters
namestringReturns
OrleansServicemethod
withClusterIdSets the ClusterId of the Orleans service.
withClusterId(clusterId: string): OrleansServiceParameters
clusterIdstringReturns
OrleansServicemethod
withClusteringConfigures the Orleans service to use the provided clustering provider.
withClustering(provider: IResourceWithConnectionString): OrleansServiceParameters
providerIResourceWithConnectionStringReturns
OrleansServiceConfigures the Orleans service to use development-only clustering.
withDevelopmentClustering(): OrleansServiceReturns
OrleansServicemethod
withGrainDirectoryAdds a grain directory provider to the Orleans service.
withGrainDirectory( name: string, provider: IResourceWithConnectionString): OrleansServiceParameters
namestringproviderIResourceWithConnectionStringReturns
OrleansServicemethod
withGrainStorageAdds a grain storage provider to the Orleans service.
withGrainStorage( name: string, provider: IResourceWithConnectionString): OrleansServiceParameters
namestringproviderIResourceWithConnectionStringReturns
OrleansServicemethod
withMemoryGrainStorageAdds an in-memory grain storage to the Orleans service.
withMemoryGrainStorage(name: string): OrleansServiceParameters
namestringReturns
OrleansServicemethod
withMemoryRemindersConfigures in-memory reminder storage for the Orleans service.
withMemoryReminders(): OrleansServiceReturns
OrleansServicemethod
withMemoryStreamingAdds an in-memory stream provider to the Orleans service.
withMemoryStreaming(name: string): OrleansServiceParameters
namestringReturns
OrleansServicemethod
withRemindersConfigures reminder storage for the Orleans service.
withReminders(provider: IResourceWithConnectionString): OrleansServiceParameters
providerIResourceWithConnectionStringReturns
OrleansServicemethod
withServiceIdSets the ServiceId of the Orleans service.
withServiceId(serviceId: string): OrleansServiceParameters
serviceIdstringReturns
OrleansServicemethod
withStreamingAdds a stream provider to the Orleans service.
withStreaming( name: string, provider: IResourceWithConnectionString): OrleansServiceParameters
namestringproviderIResourceWithConnectionStringReturns
OrleansService