@Override public ProfiledExecutionContext start(final String name, final CharSequence id, final ExecutionContext parent, final ExecutionContext.Relation relation, final long startTimeNanos, final long deadlineNanos) { return new ProfiledExecutionContext(name, id, parent, relation, startTimeNanos, deadlineNanos); }
@Override public synchronized void close() { if (!isClosed()) { super.close(); synchronized (sync) { if (sampleNode != null) { ExecutionContext notClosedParent = getNotClosedParent(); if (notClosedParent != null) { notClosedParent.add(sampleNode); } } } } }