private final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
protected final boolean isAncestorOf (Lock heldLock) { if (txojLogger.logger.isTraceEnabled()) { txojLogger.logger.trace("LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
/** * boolean function that checks whether the Uid passed as an argument is the * Uid for an ancestor of the current atomic action. * * @return <code>true</code> if the parameter represents an ancestor, * <code>false</code> otherwise. */ public final boolean isAncestor (Uid ancestor) { boolean res = false; if (get_uid().equals(ancestor)) /* actions are their own ancestors */ res = true; else { if ((parentAction != null) && (actionType != ActionType.TOP_LEVEL)) res = parentAction.isAncestor(ancestor); } return res; }
private final boolean isAncestorOf (Lock heldLock) { if (txojLogger.aitLogger.isDebugEnabled()) { txojLogger.aitLogger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PRIVATE, FacilityCode.FAC_CONCURRENCY_CONTROL, "LockManager::isAncestorOf(" + heldLock.getCurrentOwner() + ")"); } BasicAction action = BasicAction.Current(); if (action == null) return false; /* no action no ancestry! */ return action.isAncestor(heldLock.getCurrentOwner()); }