fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * CDDL HEADER START
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * The contents of this file are subject to the terms of the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Common Development and Distribution License (the "License").
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * You may not use this file except in compliance with the License.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * See the License for the specific language governing permissions
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * and limitations under the License.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * When distributing Covered Code, include this CDDL HEADER in each
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * If applicable, add the following below this CDDL HEADER, with the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * fields enclosed by brackets "[]" replaced with your own identifying
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * information: Portions Copyright [yyyy] [name of copyright owner]
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * CDDL HEADER END
e77b06d21580f630e0a7c437495ab283d3672828tomee * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Use is subject to license terms.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Implementation detail used by {@link Consumer#getAggregate()}.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Package level access.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public boolean
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public boolean
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public void
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public void
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Specifies which aggregations to include in an aggregate snapshot.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * If none are specified, all aggregations are included. A snapshot
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * is read-consistent across all included aggregations.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * @see Consumer#getAggregate(AggregateSpec spec)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public void
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Specifies which aggregations to clear after snapping the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * aggregate. If none are specified, no aggregations are cleared.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * Aggregations are cleared immediately after they are snapped
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * before any more data can be accumulated in order to prevent loss
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * of data between snapshots.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee * @see Consumer#getAggregate(AggregateSpec spec)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public void
e77b06d21580f630e0a7c437495ab283d3672828tomee return Collections. <String> unmodifiableSet(includedAggregationNames);
e77b06d21580f630e0a7c437495ab283d3672828tomee return Collections. <String> unmodifiableSet(clearedAggregationNames);
3e359d9c8f6757343a2958bb1e6e1cbbe9a657b8Tom Erickson // Called by native code
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public boolean
3e359d9c8f6757343a2958bb1e6e1cbbe9a657b8Tom Erickson Aggregate.filterUnnamedAggregationName(aggregationName)));
3e359d9c8f6757343a2958bb1e6e1cbbe9a657b8Tom Erickson // Called by native code
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee public boolean
3e359d9c8f6757343a2958bb1e6e1cbbe9a657b8Tom Erickson Aggregate.filterUnnamedAggregationName(aggregationName)));
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee buf.append(Arrays.toString(getIncludedAggregationNames().toArray()));