Package one.microstream.afs.hazelcast
Interface HazelcastConnector
- All Superinterfaces:
AutoCloseable,BlobStoreConnector
- All Known Implementing Classes:
HazelcastConnector.Default
public interface HazelcastConnector extends BlobStoreConnector
Connector for the Hazelcast IMDG.
First create a connection to a Hazelcast instance.
HazelcastInstance hazelcast = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( HazelcastConnector.New(hazelcast) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHazelcastConnector.DefaultNested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B> -
Method Summary
Static Methods Modifier and Type Method Description static HazelcastConnectorCaching(com.hazelcast.core.HazelcastInstance hazelcast)Pseudo-constructor method which creates a newHazelcastConnectorwith cache.static HazelcastConnectorNew(com.hazelcast.core.HazelcastInstance hazelcast)Pseudo-constructor method which creates a newHazelcastConnector.Methods inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
New
Pseudo-constructor method which creates a newHazelcastConnector.- Parameters:
hazelcast- connection to the Hazelcast instance- Returns:
- a new
HazelcastConnector
-
Caching
Pseudo-constructor method which creates a newHazelcastConnectorwith cache.- Parameters:
hazelcast- connection to the Hazelcast instance- Returns:
- a new
HazelcastConnector
-