incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r893156 - /incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
Date Tue, 22 Dec 2009 12:51:51 GMT
Author: spoole
Date: Tue Dec 22 12:51:50 2009
New Revision: 893156

URL: http://svn.apache.org/viewvc?rev=893156&view=rev
Log:
added new methods to DumpFactory design

Modified:
    incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java

Modified: incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java?rev=893156&r1=893155&r2=893156&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.api.vm/src/main/java/javax/tools/diagnostics/vm/DumpFactory.java
Tue Dec 22 12:51:50 2009
@@ -82,6 +82,15 @@
 	}
 	
 	/**
+	 * Fastpath method allowing the user to trigger a standard dump for the given
+	 * data format
+	 * @throws IOException 
+	 */
+	public void dump(String id) throws IOException {
+		
+		getInitiator(id).createDumpHandle().dump();
+	}
+	/**
 	 * Fastpath method to create a dump from a dump type that can support the data 
 	 * requested.   
 	 * 



Mime
View raw message