org.eclipse.jnosql.databases.hazelcast.communication.QuarkusHazelcastKeyValueConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-jnosql-keyvalue-hazelcast Show documentation
Show all versions of quarkus-jnosql-keyvalue-hazelcast Show documentation
Quarkus JNoSQL KeyValue Hazelcast Runtime provides runtime support for integrating Hazelcast key-value
databases with Quarkus applications. This extension facilitates seamless integration, enabling efficient
storage, retrieval, and management of key-value data within Quarkus projects, enhancing developer productivity.
The newest version!
package org.eclipse.jnosql.databases.hazelcast.communication;
import jakarta.inject.Inject;
import jakarta.inject.Singleton;
import org.eclipse.jnosql.communication.Settings;
import org.eclipse.jnosql.communication.keyvalue.KeyValueConfiguration;
import com.hazelcast.core.HazelcastInstance;
@Singleton
public class QuarkusHazelcastKeyValueConfiguration implements KeyValueConfiguration {
@Inject
protected HazelcastInstance client;
@Override
public HazelcastBucketManagerFactory apply(Settings settings) throws NullPointerException {
return new DefaultHazelcastBucketManagerFactory(
client);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy