private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
private final void createPreparedLists () { if (preparedList == null) preparedList = new RecordList(); if (readonlyList == null) readonlyList = new RecordList(); if (failedList == null) failedList = new RecordList(); if (heuristicList == null) heuristicList = new RecordList(); if (pendingList == null) pendingList = new RecordList(); }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }
/** * Add a record to the atomic action. This function returns AR_ADDED if the * record is added. AR_REJECTED if the record cannot be added because the * action is past the prepare phase, and IGNORED otherwise. * * @return <code>AddOutcome</code> indicating outcome. */ public final synchronized int add (AbstractRecord A) { int result = AddOutcome.AR_REJECTED; criticalStart(); if ((actionStatus <= ActionStatus.ABORTING) && ((recordBeingHandled == null) || !(recordBeingHandled.equals(A)))) { if (pendingList == null) pendingList = new RecordList(); result = (pendingList.insert(A) ? AddOutcome.AR_ADDED : AddOutcome.AR_DUPLICATE); } criticalEnd(); return result; }