public abstract class InvocationAfterCompletion extends Object implements Synchronization
Modifier and Type | Field and Description |
---|---|
protected org.infinispan.AdvancedCache |
cache |
protected static org.infinispan.util.logging.Log |
log |
protected boolean |
requiresTransaction |
protected TransactionCoordinator |
tc |
Constructor and Description |
---|
InvocationAfterCompletion(TransactionCoordinator tc,
org.infinispan.AdvancedCache cache,
boolean requiresTransaction) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
protected abstract void |
invoke(boolean success,
org.infinispan.AdvancedCache cache) |
protected void |
invokeIsolated(boolean success) |
protected static final org.infinispan.util.logging.Log log
protected final TransactionCoordinator tc
protected final org.infinispan.AdvancedCache cache
protected final boolean requiresTransaction
public InvocationAfterCompletion(TransactionCoordinator tc, org.infinispan.AdvancedCache cache, boolean requiresTransaction)
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
protected void invokeIsolated(boolean success)
protected abstract void invoke(boolean success, org.infinispan.AdvancedCache cache)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.