Package fish.payara.ha.hazelcast.store
Class HazelcastBackingStore<K extends Serializable,V extends Serializable>
- java.lang.Object
-
- org.glassfish.ha.store.api.BackingStore<K,V>
-
- fish.payara.ha.hazelcast.store.HazelcastBackingStore<K,V>
-
public class HazelcastBackingStore<K extends Serializable,V extends Serializable> extends org.glassfish.ha.store.api.BackingStore<K,V>
- Author:
- steve
-
-
Constructor Summary
Constructors Constructor Description HazelcastBackingStore(org.glassfish.ha.store.api.BackingStoreFactory factory, String storeName, ClusteredStore clusteredStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.ha.store.api.BackingStoreFactory
getBackingStoreFactory()
V
load(K k, String string)
void
remove(K k)
String
save(K k, V v, boolean bln)
int
size()
-
-
-
Constructor Detail
-
HazelcastBackingStore
public HazelcastBackingStore(org.glassfish.ha.store.api.BackingStoreFactory factory, String storeName, ClusteredStore clusteredStore)
-
-
Method Detail
-
getBackingStoreFactory
public org.glassfish.ha.store.api.BackingStoreFactory getBackingStoreFactory()
- Specified by:
getBackingStoreFactory
in classorg.glassfish.ha.store.api.BackingStore<K extends Serializable,V extends Serializable>
-
load
public V load(K k, String string) throws org.glassfish.ha.store.api.BackingStoreException
- Specified by:
load
in classorg.glassfish.ha.store.api.BackingStore<K extends Serializable,V extends Serializable>
- Throws:
org.glassfish.ha.store.api.BackingStoreException
-
save
public String save(K k, V v, boolean bln) throws org.glassfish.ha.store.api.BackingStoreException
- Specified by:
save
in classorg.glassfish.ha.store.api.BackingStore<K extends Serializable,V extends Serializable>
- Throws:
org.glassfish.ha.store.api.BackingStoreException
-
remove
public void remove(K k) throws org.glassfish.ha.store.api.BackingStoreException
- Specified by:
remove
in classorg.glassfish.ha.store.api.BackingStore<K extends Serializable,V extends Serializable>
- Throws:
org.glassfish.ha.store.api.BackingStoreException
-
size
public int size() throws org.glassfish.ha.store.api.BackingStoreException
- Specified by:
size
in classorg.glassfish.ha.store.api.BackingStore<K extends Serializable,V extends Serializable>
- Throws:
org.glassfish.ha.store.api.BackingStoreException
-
-