Package one.microstream.afs.coherence
Interface CoherenceConnector
- All Superinterfaces:
AutoCloseable
,BlobStoreConnector
- All Known Implementing Classes:
CoherenceConnector.Default
public interface CoherenceConnector extends BlobStoreConnector
Connector for the Oracle Coherence data grid.
First create a connection to a named cache.
NamedCache cache = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( CoherenceConnector.New(cache) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CoherenceConnector.Default
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Method Summary
Static Methods Modifier and Type Method Description static CoherenceConnector
Caching(com.tangosol.net.NamedCache cache)
Pseudo-constructor method which creates a newCoherenceConnector
with cache.static CoherenceConnector
New(com.tangosol.net.NamedCache cache)
Pseudo-constructor method which creates a newCoherenceConnector
.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 newCoherenceConnector
.- Parameters:
cache
- connection to the coherence caching service- Returns:
- a new
CoherenceConnector
-
Caching
Pseudo-constructor method which creates a newCoherenceConnector
with cache.- Parameters:
cache
- connection to the coherence caching service- Returns:
- a new
CoherenceConnector
-