Package org.infinispan.persistence.spi
Interface ExternalStore<K,V>
-
- All Superinterfaces:
CacheLoader<K,V>
,CacheWriter<K,V>
,org.infinispan.commons.api.Lifecycle
- All Known Subinterfaces:
AdvancedLoadWriteStore<K,V>
,FlagAffectedStore<K,V>
- All Known Implementing Classes:
SingleFileStore
@ThreadSafe public interface ExternalStore<K,V> extends CacheLoader<K,V>, CacheWriter<K,V>
Basic interface for interacting with an external store in a read-write mode.- Since:
- 6.0
- Author:
- Mircea Markus
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isAvailable()
-
Methods inherited from interface org.infinispan.persistence.spi.CacheLoader
contains, init, load
-
Methods inherited from interface org.infinispan.persistence.spi.CacheWriter
delete, deleteBatch, init, write, writeBatch
-
-
-
-
Method Detail
-
isAvailable
default boolean isAvailable()
- Specified by:
isAvailable
in interfaceCacheLoader<K,V>
- Specified by:
isAvailable
in interfaceCacheWriter<K,V>
- Returns:
- true if the writer can be connected to, otherwise false
-
-