public abstract class AbstractCustomFailurePolicy<K,V> extends Object implements CustomFailurePolicy<K,V>
CustomFailurePolicy
.Constructor and Description |
---|
AbstractCustomFailurePolicy() |
Modifier and Type | Method and Description |
---|---|
void |
handleClearFailure(String site) |
void |
handleCommitFailure(String site,
Transaction transaction) |
void |
handlePrepareFailure(String site,
Transaction transaction) |
void |
handlePutAllFailure(String site,
Map<K,V> map) |
void |
handlePutFailure(String site,
K key,
V value,
boolean putIfAbsent) |
void |
handleRemoveFailure(String site,
K key,
V oldValue) |
void |
handleReplaceFailure(String site,
K key,
V oldValue,
V newValue) |
void |
handleRollbackFailure(String site,
Transaction transaction) |
void |
init(Cache<K,V> cache)
Invoked during the initialization phase.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleComputeFailure, handleComputeIfAbsentFailure, handleReadWriteKeyFailure, handleReadWriteKeyValueFailure, handleReadWriteManyEntriesFailure, handleReadWriteManyFailure, handleWriteOnlyKeyFailure, handleWriteOnlyKeyValueFailure, handleWriteOnlyManyEntriesFailure, handleWriteOnlyManyFailure
public void init(Cache<K,V> cache)
CustomFailurePolicy
init
in interface CustomFailurePolicy<K,V>
public void handlePutFailure(String site, K key, V value, boolean putIfAbsent)
handlePutFailure
in interface CustomFailurePolicy<K,V>
public void handleRemoveFailure(String site, K key, V oldValue)
handleRemoveFailure
in interface CustomFailurePolicy<K,V>
public void handleReplaceFailure(String site, K key, V oldValue, V newValue)
handleReplaceFailure
in interface CustomFailurePolicy<K,V>
public void handleClearFailure(String site)
handleClearFailure
in interface CustomFailurePolicy<K,V>
public void handlePutAllFailure(String site, Map<K,V> map)
handlePutAllFailure
in interface CustomFailurePolicy<K,V>
public void handlePrepareFailure(String site, Transaction transaction)
handlePrepareFailure
in interface CustomFailurePolicy<K,V>
public void handleRollbackFailure(String site, Transaction transaction)
handleRollbackFailure
in interface CustomFailurePolicy<K,V>
public void handleCommitFailure(String site, Transaction transaction)
handleCommitFailure
in interface CustomFailurePolicy<K,V>
Copyright © 2021 JBoss by Red Hat. All rights reserved.