2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * ident "%Z%%M% %I% %E% SMI" 2N/A * A {@link ProbeDescription} identifying a single probe combined with 2N/A * information about the identified probe. 2N/A * @see Consumer#listProbes(ProbeDescription filter) 2N/A * @see Consumer#listProgramProbes(Program program) 2N/A * @author Tom Erickson 2N/A * Need to prevent DefaultPersistenceDelegate from using 2N/A * overridden equals() method, resulting in a 2N/A * StackOverFlowError. Revert to PersistenceDelegate 2N/A * implementation. See 2N/A * Creates a {@code Probe} instance with the given identifying 2N/A * description and associated probe information. Supports XML 2N/A * @param probeDescription probe description that identifies a 2N/A * single DTrace probe 2N/A * @param probeInfo information about the identified probe, {@code 2N/A * null} indicating that the information could not be obtained 2N/A * @throws NullPointerException if the given probe description is 2N/A * Gets the probe description identifying a single probe described 2N/A * @return non-null probe description matching a single probe on the 2N/A * Gets information including attributes and argument types of the 2N/A * probe identified by {@link #getDescription()}. 2N/A * @return information about the probe identified by {@link 2N/A * #getDescription()}, or {@code null} if that information could not 2N/A * be obtained for any reason 2N/A * Compares the specified object with this {@code Probe} instance 2N/A * for equality. Defines equality as having the same probe 2N/A * @return {@code true} if and only if the specified object is also 2N/A * a {@code Probe} and both instances return equal values from 2N/A * {@link #getDescription()}. 2N/A * Overridden to ensure that equal instances have equal hash codes. 2N/A // Check class invariants 2N/A * Returns a string representation of this {@code Probe} useful for 2N/A * logging and not intended for display. The exact details of the 2N/A * representation are unspecified and subject to change, but the 2N/A * following format may be regarded as typical: 2N/A * class-name[property1 = value1, property2 = value2]