public class ParRegBridgeView extends ParRegViewTest
checkEventCounters, initializeTxInfo, interestPolicy, isBridgeClient, isProxy, isScopeLocal, isSerialExecution, killSyncObject, myVmPid, rng, txContext, txInProgress, viewTest| Constructor and Description |
|---|
ParRegBridgeView() |
| Modifier and Type | Method and Description |
|---|---|
static void |
HydraCloseTask_validateTxConsistency()
Hydra CLOSETASK to verify that either all or no VMs received
the distribution of a transaction (even though the tx vm was
killed mid-way through the operation.
|
static void |
HydraCloseTask_verifyResourcesReleased()
Hydra CLOSETASK to ensure that we can access the same entries
that were accessed in the original transaction (to ensure all
locking resources were released).
|
static void |
HydraTask_initialize() |
static void |
HydraTask_killCommittor()
kill the VM if we are the transactional thread and a commit
is in Progress (see TxBB.commitInProgress)
|
static void |
HydraTask_killDataHost()
kill a DataHost server if the VM if we are the transactional thread and a commit
is in Progress (see TxBB.commitInProgress)
|
static void |
HydraTask_killDelegate()
kill the delegate (killTarget on BB) if we are the transactional thread and a commit
is in Progress (see TxBB.commitInProgress)
|
protected void |
postClientVmInfoToBB()
Write ClientVmInfo for delegate and another (nonDelegate) host to BB for future use
with kill methods above.
|
void |
setupCommitTestCallbacks(String commitStatePrm) |
protected boolean |
updatesVisible()
Depending on the commitStateTrigger (the point at which the committing
VM was killed), should we be able to see the tx updates?
|
protected void |
validateTxConsistency() |
protected void |
verifyResourcesReleased()
Hydra CLOSETASK to verify that resources (e.g.
|
checkEventCounters, checkTxEventCounters, checkWriterCounters, initializeadjustOldValue, beginTx, checkCommittedState, executeTx, finishTx, getValueInVM, HydraTask_checkCommittedState, HydraTask_executeTx, HydraTask_waitForDist, incrementEventCounters, initialize, validateAllStates, validateCacheClosed, validateCombinedOpsAfterCommit, validateCombinedOpsAfterRollback, validateCommittedState, validateNonTxOps, validateState, validateState, validateTxOps, validateTxOps, verifyCallbackInvocationpublic static void HydraTask_initialize()
public static void HydraCloseTask_verifyResourcesReleased()
protected void verifyResourcesReleased()
verifyResourcesReleased in class ViewTestpublic static void HydraCloseTask_validateTxConsistency()
protected void validateTxConsistency()
validateTxConsistency in class ViewTestprotected boolean updatesVisible()
updatesVisible in class ParRegViewTestpublic void setupCommitTestCallbacks(String commitStatePrm)
setupCommitTestCallbacks in class ParRegViewTestprotected void postClientVmInfoToBB()
public static void HydraTask_killCommittor()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static void HydraTask_killDelegate()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionpublic static void HydraTask_killDataHost()
throws ClientVmNotFoundException
ClientVmNotFoundExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.