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 * Detail about one or more records dropped by DTrace (not reported to 2N/A * {@link ConsumerListener#dataReceived(DataEvent e) 2N/A * ConsumerListener.dataReceived()}) due to inadequte buffer space. 2N/A * @see ConsumerListener#dataDropped(DropEvent e) 2N/A * @author Tom Erickson 2N/A new String[] {
"CPU",
"kind",
"count",
"total",
2N/A * Indicates what kind of buffer space experienced the data drop 2N/A * (such as principal buffer or aggregation buffer) and possibly a 2N/A /** Drop to principal buffer */ 2N/A /** Drop to aggregation buffer */ 2N/A /** Dynamic drop due to rinsing */ 2N/A /** Dynamic drop due to dirtiness */ 2N/A /** Speculative drop */ 2N/A /** Speculative drop due to business */ 2N/A /** Speculative drop due to unavailability */ 2N/A /** Stack string table overflow */ 2N/A /** Error in ERROR probe */ 2N/A /** Unrecognized value from native DTrace library */ 2N/A * Overridden to get the default display value. To 2N/A * internationalize the display value, use {@link Enum#name()} 2N/A * instead as an I18N lookup key. 2N/A * Creates a {@code Drop} instance with the given CPU, drop kind, 2N/A * drop counts, and default message. Supports XML persistence. 2N/A * @param dropCPU cpu where drops occurred 2N/A * @param dropKindName name of enumeration value indicating the kind 2N/A * of buffer space where the drop occurred and possibly a reason 2N/A * @param dropCount number of drops 2N/A * @param totalDrops total number of drops since the source {@link 2N/A * Consumer} started running 2N/A * @param defaultDropMessage drop message provided by DTrace 2N/A * @throws IllegalArgumentException if there is no {@code Drop.Kind} 2N/A * value with the given name or if {@code dropCount} or {@code 2N/A * totalDrops} is negative 2N/A * @throws NullPointerException if the given {@code Drop.Kind} name 2N/A * or default message is {@code null} 2N/A * Gets the CPU where the drops occurred. 2N/A * @return non-negative CPU ID, or a negative number if the CPU is 2N/A * Gets the kind of drop for all drops included in {@link 2N/A * @return non-null drop kind 2N/A * Gets the number of drops reported by this {@code Drop} instance. 2N/A * @return non-negative drop count 2N/A * Gets the total number of drops since the source {@link Consumer} 2N/A * @return non-negative drop total since tracing started 2N/A * Gets the message provided by DTrace. 2N/A * @return non-null message provided by DTrace 2N/A // check class invariants 2N/A * Gets a string representation of this drop instance, not intended 2N/A * for display. The exact details of the representation are 2N/A * unspecified and subject to change, but the following format may 2N/A * be regarded as typical: 2N/A * class-name[property1 = value1, property2 = value2]