use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class KeyValueConfigurationTest method shouldCreateKeyValueFactory.
@Test
public void shouldCreateKeyValueFactory() {
Map<String, String> map = new HashMap<>();
BucketManagerFactory managerFactory = configuration.get(map);
assertNotNull(managerFactory);
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class KeyValueEntityManagerFactoryUtils method get.
public static BucketManagerFactory get() {
KeyValueConfiguration configuration = new InfinispanKeyValueConfiguration();
BucketManagerFactory managerFactory = configuration.get();
return managerFactory;
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class HazelcastBucketManagerSupplier method get.
@Override
public BucketManager get() {
KeyValueConfiguration configuration = new HazelcastKeyValueConfiguration();
final BucketManagerFactory factory = configuration.get();
return factory.getBucketManager(BUCKET);
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class KeyValueConfigurationTest method shouldCreateKeyValueFactory.
@Test
public void shouldCreateKeyValueFactory() {
Map<String, String> map = new HashMap<>();
BucketManagerFactory managerFactory = configuration.get(map);
assertNotNull(managerFactory);
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class KeyValueEntityManagerFactoryUtils method get.
public static BucketManagerFactory get() {
KeyValueConfiguration configuration = new HazelcastKeyValueConfiguration();
BucketManagerFactory managerFactory = configuration.get();
return managerFactory;
}
Aggregations