refresh  set_props

Chapter 8: Using wstool, wstkeytool, wstant, and wstkeytoolant

resetStats

Description

Resets the runtime monitor statistics of a given Web service collection or Web service.

Syntax

Command line:

resetStats 
entity

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="resetStats" > <wst_antTask command="resetStats"
entity=”entity” >

Where:

Option

Description

entity

Can be one of:

  • service:CollectionName/ServiceName – identifies the Web service for which the statistics are reset.

  • collection:CollectionName – identifies the Web service collection for which the statistics are reset.

Examples

Example 1

This command resets the runtime monitor statistics of MyWebServiceCollection:

wstool resetStats collection:MyWebServiceCollection

Ant build example:

<wst_antTask command="resetstats" entity="service:myCollection/myService"/>




Copyright © 2005. Sybase Inc. All rights reserved. set_props