Retrieves a map containing all cost drivers for all descending attributes
of a trace.

@see #extractNestedAmounts(XTrace)

@param trace
Trace to retrieve all cost drivers for.
@return Map from all descending keys to cost drivers.
776771
public Map<List<String>, String> extractNestedDrivers(XTrace trace) {
		return XCostDriver.instance().extractNestedValues(trace);
	}
1304767
@Nullable
  public List<Span> getTrace(String traceId) {
    try {
      return storage.spanStore().getTrace(traceId).execute();
    } catch (IOException e) {
      throw Platform.get().assertionError("I/O exception in in-memory storage", e);
    }
  }
174671
public static traceroute get(nitro_service client, traceroute resource) throws Exception
	{
		resource.validate("get");
		return ((traceroute[]) resource.get_resources(client))[0];
	}
505562
public int getTotalDispatchables() {
        int count = 0;
        Iterator i = idToFirstLevelEntryMap.iterator();
        while (i.hasNext())
            ++count;
        return count;
    }
32610
public java.util.Map captureStatistics()
                    throws ObjectManagerException
    {
        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.entry(this,
                        cclass,
                        "captureStatistics");

        java.util.Map statistics = super.captureStatistics();

        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.exit(this,
                       cclass,
                       "captureStatistics",
                       "return statistics=" + statistics);
        return statistics;
    }
131898
@Pure
	<CT extends RoadConnection> CT getEndPoint(Class<CT> connectionClass) {
		final StandardRoadConnection connection = this.lastConnection;
		if (connection == null) {
			return null;
		}
		if (connectionClass.isAssignableFrom(StandardRoadConnection.class)) {
			return connectionClass.cast(connection);
		}
		if (connectionClass.isAssignableFrom(RoadConnectionWithArrivalSegment.class)) {
			return connectionClass.cast(new RoadConnectionWithArrivalSegment(connection, this, false));
		}
		throw new IllegalArgumentException("unsupported RoadConnection class");  //$NON-NLS-1$
	}
186506
public Router trace(@NotNull final Pattern regex, @NotNull final IMiddleware... handlers) {
        addRegEx("TRACE", regex, handlers, traceBindings);
        return this;
    }
677271
Map getTrmProperties() {

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.entry(this, TRACE, "getTrmProperties");
        }

        final Map trmProperties = new HashMap();

        final String trmBusName = getBusName();
        if ((trmBusName != null) && (!trmBusName.equals(""))) {
            trmProperties.put(SibTrmConstants.BUSNAME, trmBusName);
        }

        final String trmTarget = getTarget();
        if ((trmTarget != null) && (!trmTarget.equals(""))) {
            trmProperties.put(SibTrmConstants.TARGET_GROUP, trmTarget);
        }

        final String trmTargetType = getTargetType();
        if ((trmTargetType != null) && (!trmTargetType.equals(""))) {
            trmProperties.put(SibTrmConstants.TARGET_TYPE, trmTargetType);
        }

        final String trmTargetSignificance = getTargetSignificance();
        if ((trmTargetSignificance != null)
            && (!trmTargetSignificance.equals(""))) {
            trmProperties.put(SibTrmConstants.TARGET_SIGNIFICANCE,
                              trmTargetSignificance);
        }

        final String trmTargetTransportChain = getTargetTransportChain();
        if ((trmTargetTransportChain != null)
            && (!trmTargetTransportChain.equals(""))) {
            trmProperties.put(SibTrmConstants.TARGET_TRANSPORT_CHAIN,
                              trmTargetTransportChain);
        }

        final String trmProviderEndpoints = getRemoteServerAddress();
        if ((trmProviderEndpoints != null)
            && (!trmProviderEndpoints.equals(""))) {
            trmProperties.put(SibTrmConstants.PROVIDER_ENDPOINTS,
                              trmProviderEndpoints);
        }

        final String trmTargetTransport = getTargetTransport();
        if ((trmTargetTransport != null)
            && (!trmTargetTransport.equals(""))) {
            trmProperties.put(SibTrmConstants.TARGET_TRANSPORT_TYPE,
                              trmTargetTransport);
        }

        final String trmConnectionProximity = getConnectionProximity();
        if ((trmConnectionProximity != null)
            && (!trmConnectionProximity.equals(""))) {
            trmProperties.put(SibTrmConstants.CONNECTION_PROXIMITY,
                              trmConnectionProximity);
        }

        final String trmSubscriptionProtocol = getSubscriptionProtocol();
        if ((trmSubscriptionProtocol != null)
            && (!trmSubscriptionProtocol.equals(""))) {
            trmProperties.put(SibTrmConstants.SUBSCRIPTION_PROTOCOL,
                              trmSubscriptionProtocol);
        }

        final String trmMulticastInterface = getMulticastInterface();
        if ((trmMulticastInterface != null)
            && (!trmMulticastInterface.equals(""))) {
            trmProperties.put(SibTrmConstants.MULTICAST_INTERFACE,
                              trmMulticastInterface);
        }

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.exit(this, TRACE, "getTrmProperties", trmProperties);
        }
        return trmProperties;

    }
308488
public static final XAException traceXAException(XAException xae, Class<?> callerClass) {
        Tr.warning(tc, "THROW_XAEXCEPTION", new Object[]
        { AdapterUtil.getXAExceptionCodeString(xae.errorCode), xae.getMessage() });

        return xae;
    }
846883
public java.util.Map captureStatistics()
    {
        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.entry(this, cclass,
                        "captureStatistics");

        java.util.Map statistics = new java.util.HashMap();
        statistics.put("maximumAvailableSize",
                       Long.toString(maximumAvailableSize));

        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.exit(this, cclass,
                       "captureStatistics",
                       new Object[] { statistics });
        return statistics;
    }
306368
public Collection<TrafficCounter> channelTrafficCounters() {
        return new AbstractCollection<TrafficCounter>() {
            @Override
            public Iterator<TrafficCounter> iterator() {
                return new Iterator<TrafficCounter>() {
                    final Iterator<PerChannel> iter = channelQueues.values().iterator();
                    @Override
                    public boolean hasNext() {
                        return iter.hasNext();
                    }
                    @Override
                    public TrafficCounter next() {
                        return iter.next().channelTrafficCounter;
                    }
                    @Override
                    public void remove() {
                        throw new UnsupportedOperationException();
                    }
                };
            }
            @Override
            public int size() {
                return channelQueues.size();
            }
        };
    }
392068
public Map<List<String>, String> extractNestedTypes(XTrace trace) {
		return XCostType.instance().extractNestedValues(trace);
	}
1003884
private void traceKey(Key<?> key, GinjectorBindings bindings) {
    Binding binding = bindings.getBinding(key);
    // Make sure the binding is present: optional bindings might be missing.
    if (binding != null) {
      if (!reachable.add(binding)) {
        // The binding was already marked as reachable.
        return;
      }

      getReachableMemberInjects(bindings).addAll(binding.getMemberInjectRequests());

      for (Dependency dependency : binding.getDependencies()) {
        if (dependency.getSource().equals(key)) {
          Key<?> target = dependency.getTarget();

          PrettyPrinter.log(logger, TreeLogger.DEBUG, "%s:%s -> %s:%s [%s]",
              bindings, key, bindings, dependency.getTarget(), binding);
          traceKey(target, bindings);
        }
      }

      // Special cases: parent / child bindings induce dependencies between
      // GinjectorBindings objects, which can't be represented in the standard
      // dependency graph.
      if (binding instanceof ParentBinding) {
        ParentBinding parentBinding = (ParentBinding) binding;
        PrettyPrinter.log(logger, TreeLogger.DEBUG, "%s:%s -> %s:%s [inherited]",
            bindings, key, parentBinding.getParentBindings(), key);
        traceKey(key, parentBinding.getParentBindings());
      } else if (binding instanceof ExposedChildBinding) {
        ExposedChildBinding exposedChildBinding = (ExposedChildBinding) binding;
        PrettyPrinter.log(logger, TreeLogger.DEBUG, "%s:%s -> %s:%s [exposed]",
            bindings, key, exposedChildBinding.getChildBindings(), key);
        traceKey(key, exposedChildBinding.getChildBindings());
      }
    }
  }
1310212
public Map<String, Object> getInboundConnectionInfo() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "getInboundConnectionInfo");
        return this.inboundConnectionInfo;
    }
395047
public static Multimap<Extract, WorkUnitState> getExtractsForPredicate(
      Multimap<Extract, WorkUnitState> extractToWorkUnitStateMap, Predicate<WorkUnitState> predicate) {
    Multimap<Extract, WorkUnitState> successfulExtracts = ArrayListMultimap.create();
    for (Map.Entry<Extract, Collection<WorkUnitState>> entry : extractToWorkUnitStateMap.asMap().entrySet()) {
      if (Iterables.all(entry.getValue(), predicate)) {
        successfulExtracts.putAll(entry.getKey(), entry.getValue());
      }
    }
    return successfulExtracts;
  }
242355
protected Set<Property> obtainCommonProperties(Trace trace) {
        Set<Property> commonProperties = trace.getProperties(Constants.PROP_SERVICE_NAME);
        commonProperties.addAll(trace.getProperties(Constants.PROP_BUILD_STAMP));
        commonProperties.addAll(trace.getProperties(Constants.PROP_PRINCIPAL));
        return commonProperties;
    }
890296
public final XAException traceXAException(XAException xae, Class<?> callerClass) { 

        String detailedMessage = ivManagedConnection.mcf.helper.getXAExceptionContents(xae); 
        Tr.error(tc, "DISPLAY_XAEX_CONTENT", detailedMessage);

        Tr.error(tc, "THROW_XAEXCEPTION", new Object[]
        { AdapterUtil.getXAExceptionCodeString(xae.errorCode), xae.getMessage() });

        return xae;
    }