public CouchbaseGrainStorage(
     string name,
     CouchbaseGrainStorageOptions options,
     IOptions <ClusterOptions> clusterOptions,
     IGrainFactory grainFactory,
     ITypeResolver typeResolver,
     SerializationManager serializationManager)
 {
     _options              = options;
     _name                 = name;
     _clusterOptions       = clusterOptions.Value;
     _grainFactory         = grainFactory;
     _typeResolver         = typeResolver;
     _serializationManager = serializationManager;
 }
Exemple #2
0
 public GrainStateDataManager(CouchbaseGrainStorageOptions options)
 {
     dataManager = new CouchbaseDataManager(options);
 }
Exemple #3
0
 public CouchbaseDataManager(CouchbaseGrainStorageOptions options)
 {
     _config = options;
 }
Exemple #4
0
 public CouchbaseGrainStorageOptionsValidator(CouchbaseGrainStorageOptions options, string name)
 {
     _name    = name;
     _options = options;
 }