Java Doc for Usage.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » invocation » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » pegasus 2.1.0 » org.griphyn.vdl.invocation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.griphyn.vdl.invocation.Invocation
   org.griphyn.vdl.invocation.Usage

Usage
public class Usage extends Invocation (Code)
This class is contains some excerpt from the getrusage call. Due to Linux not populating a lot of records, the amount of information is restricted. Adjustments to LP64 architecture may be necessary.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 50 $



Constructor Summary
public  Usage()
     Default c'tor: Construct a hollow shell and allow further information to be added later.
public  Usage(double utime, double stime, int minflt, int majflt, int nswap, int nsignals, int nvcsw, int nivcsw, int maxrss, int ixrss, int idrss, int isrss, int inblock, int outblock, int msgsnd, int msgrcv)
     Full c'tor: All values are provided.
Parameters:
  utime - is the time spent in user mode
Parameters:
  stime - is the time spent in system mode
Parameters:
  minflt - are minor page faults and page reclaims
Parameters:
  majflt - are major page faults and s.t.

Method Summary
public  intgetInputBlocks()
     Accessor.
public  intgetInvoluntarySwitches()
     Accessor: Obtains the involuntary context switches.
public  intgetMajorFaults()
     Accessor: Obtains the major page faults.
public  intgetMaximumRSS()
     Accessor.
public  intgetMinorFaults()
     Accessor: Obtains the minfor page faults.
public  intgetOutputBlocks()
     Accessor.
public  intgetReceived()
     Accessor.
public  intgetSent()
     Accessor.
public  intgetSharedRSS()
     Accessor.
public  intgetSignals()
     Accessor: Obtains the system signals sent. the number of signals sent to the process.
public  intgetStackRSS()
     Accessor.
public  intgetSwaps()
     Accessor: Obtains number of swap operations.
public  doublegetSystemTime()
     Accessor: Obtains the system time from the object.
public  intgetUnsharedRSS()
     Accessor.
public  doublegetUserTime()
     Accessor: Obtains the user time from the object.
public  intgetVoluntarySwitches()
     Accessor: Obtains the voluntary context switches.
public  voidsetInputBlocks(int inblock)
     Accessor.
public  voidsetInvoluntarySwitches(int nivcsw)
     Accessor: Sets the number of involuntary context switches.
Parameters:
  nivcsw - is the new number involuntary context switches.
public  voidsetMajorFaults(int majflt)
     Accessor: Sets the number of major page faults.
public  voidsetMaximumRSS(int maxrss)
     Accessor.
public  voidsetMinorFaults(int minflt)
     Accessor: Sets the number of minor faults.
public  voidsetOutputBlocks(int outblock)
     Accessor.
public  voidsetReceived(int msgrcv)
     Accessor.
public  voidsetSent(int msgsnd)
     Accessor.
public  voidsetSharedRSS(int ixrss)
     Accessor.
public  voidsetSignals(int nsignals)
     Accessor: Sets the number of signalss sent.
public  voidsetStackRSS(int isrss)
     Accessor.
public  voidsetSwaps(int nswap)
     Accessor: Sets the number of swap ops.
public  voidsetSystemTime(double stime)
     Accessor: Sets the system time.
public  voidsetUnsharedRSS(int idrss)
     Accessor.
public  voidsetUserTime(double utime)
     Accessor: Sets the user time.
public  voidsetVoluntarySwitches(int nvcsw)
     Accessor: Sets the number of voluntary context switches.
Parameters:
  nvcsw - is the new number voluntary context switches.
public  voidtoString(Writer stream)
     Converts the active state into something meant for human consumption. The method will be called when recursively traversing the instance tree.
public  voidtoXML(Writer stream, String indent, String namespace)
     Dump the state of the current element as XML output.
Parameters:
  stream - is a stream opened and ready for writing.


Constructor Detail
Usage
public Usage()(Code)
Default c'tor: Construct a hollow shell and allow further information to be added later.



Usage
public Usage(double utime, double stime, int minflt, int majflt, int nswap, int nsignals, int nvcsw, int nivcsw, int maxrss, int ixrss, int idrss, int isrss, int inblock, int outblock, int msgsnd, int msgrcv)(Code)
Full c'tor: All values are provided.
Parameters:
  utime - is the time spent in user mode
Parameters:
  stime - is the time spent in system mode
Parameters:
  minflt - are minor page faults and page reclaims
Parameters:
  majflt - are major page faults and s.t. swaps
Parameters:
  nswap - are the number of swap operations
Parameters:
  nsignals - are the number of signals sent
Parameters:
  nvcsw - are voluntary context switches
Parameters:
  nivcsw - are involuntary context switches
Parameters:
  maxrss - is the maximum resident set size
Parameters:
  ixrss - is the integral shared memory size
Parameters:
  idrss - is the integral unshared data size
Parameters:
  isrss - is the integral unshared stack size
Parameters:
  inblock - are block input operations
Parameters:
  outblock - are block output operations
Parameters:
  msgsnd - are messages sent
Parameters:
  msgrcv - are messages received




Method Detail
getInputBlocks
public int getInputBlocks()(Code)
Accessor.
See Also:   Usage.setInputBlocks(int)



getInvoluntarySwitches
public int getInvoluntarySwitches()(Code)
Accessor: Obtains the involuntary context switches. the number of involuntary context switches.
See Also:   Usage.setInvoluntarySwitches(int)



getMajorFaults
public int getMajorFaults()(Code)
Accessor: Obtains the major page faults. the number of major page faults.
See Also:   Usage.setMajorFaults(int)



getMaximumRSS
public int getMaximumRSS()(Code)
Accessor.
See Also:   Usage.setMaximumRSS(int)



getMinorFaults
public int getMinorFaults()(Code)
Accessor: Obtains the minfor page faults. the number of page reclaims.
See Also:   Usage.setMinorFaults(int)



getOutputBlocks
public int getOutputBlocks()(Code)
Accessor.
See Also:   Usage.setOutputBlocks(int)



getReceived
public int getReceived()(Code)
Accessor.
See Also:   Usage.setReceived(int)



getSent
public int getSent()(Code)
Accessor.
See Also:   Usage.setSent(int)



getSharedRSS
public int getSharedRSS()(Code)
Accessor.
See Also:   Usage.setSharedRSS(int)



getSignals
public int getSignals()(Code)
Accessor: Obtains the system signals sent. the number of signals sent to the process.
See Also:   Usage.setSignals(int)



getStackRSS
public int getStackRSS()(Code)
Accessor.
See Also:   Usage.setStackRSS(int)



getSwaps
public int getSwaps()(Code)
Accessor: Obtains number of swap operations. the number of swaps.
See Also:   Usage.setSwaps(int)



getSystemTime
public double getSystemTime()(Code)
Accessor: Obtains the system time from the object. the time spent in system mode.
See Also:   Usage.setSystemTime(double)



getUnsharedRSS
public int getUnsharedRSS()(Code)
Accessor.
See Also:   Usage.setUnsharedRSS(int)



getUserTime
public double getUserTime()(Code)
Accessor: Obtains the user time from the object. the time spent in user mode.
See Also:   Usage.setUserTime(double)



getVoluntarySwitches
public int getVoluntarySwitches()(Code)
Accessor: Obtains the voluntary context switches. the number of voluntary context switches.
See Also:   Usage.setVoluntarySwitches(int)



setInputBlocks
public void setInputBlocks(int inblock)(Code)
Accessor.
Parameters:
  inblock -
See Also:   Usage.getInputBlocks()



setInvoluntarySwitches
public void setInvoluntarySwitches(int nivcsw)(Code)
Accessor: Sets the number of involuntary context switches.
Parameters:
  nivcsw - is the new number involuntary context switches.
See Also:   Usage.getInvoluntarySwitches()



setMajorFaults
public void setMajorFaults(int majflt)(Code)
Accessor: Sets the number of major page faults.
Parameters:
  majflt - is the new number of major page faults.
See Also:   Usage.getMajorFaults()



setMaximumRSS
public void setMaximumRSS(int maxrss)(Code)
Accessor.
Parameters:
  maxrss -
See Also:   Usage.getMaximumRSS()



setMinorFaults
public void setMinorFaults(int minflt)(Code)
Accessor: Sets the number of minor faults.
Parameters:
  minflt - is the new number of minor faults.
See Also:   Usage.getMinorFaults()



setOutputBlocks
public void setOutputBlocks(int outblock)(Code)
Accessor.
Parameters:
  outblock -
See Also:   Usage.getOutputBlocks()



setReceived
public void setReceived(int msgrcv)(Code)
Accessor.
Parameters:
  msgrcv -
See Also:   Usage.getReceived()



setSent
public void setSent(int msgsnd)(Code)
Accessor.
Parameters:
  msgsnd -
See Also:   Usage.getSent()



setSharedRSS
public void setSharedRSS(int ixrss)(Code)
Accessor.
Parameters:
  ixrss -
See Also:   Usage.getSharedRSS()



setSignals
public void setSignals(int nsignals)(Code)
Accessor: Sets the number of signalss sent.
Parameters:
  nsignals - is the new number of signals.
See Also:   Usage.getSignals()



setStackRSS
public void setStackRSS(int isrss)(Code)
Accessor.
Parameters:
  isrss -
See Also:   Usage.getStackRSS()



setSwaps
public void setSwaps(int nswap)(Code)
Accessor: Sets the number of swap ops.
Parameters:
  nswap - is the new number of swap operations.
See Also:   Usage.getSwaps()



setSystemTime
public void setSystemTime(double stime)(Code)
Accessor: Sets the system time.
Parameters:
  stime - is the new user time in seconds with fraction.
See Also:   Usage.getSystemTime()



setUnsharedRSS
public void setUnsharedRSS(int idrss)(Code)
Accessor.
Parameters:
  idrss -
See Also:   Usage.getUnsharedRSS()



setUserTime
public void setUserTime(double utime)(Code)
Accessor: Sets the user time.
Parameters:
  utime - is the new user time in seconds with fraction.
See Also:   Usage.getUserTime()



setVoluntarySwitches
public void setVoluntarySwitches(int nvcsw)(Code)
Accessor: Sets the number of voluntary context switches.
Parameters:
  nvcsw - is the new number voluntary context switches.
See Also:   Usage.getVoluntarySwitches()



toString
public void toString(Writer stream) throws IOException(Code)
Converts the active state into something meant for human consumption. The method will be called when recursively traversing the instance tree.
Parameters:
  stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output.



toXML
public void toXML(Writer stream, String indent, String namespace) throws IOException(Code)
Dump the state of the current element as XML output.
Parameters:
  stream - is a stream opened and ready for writing. This can alsobe a string stream for efficient output.
Parameters:
  indent - is a String of spaces used for prettyprinting. The initial amount of spaces should be an empty string.The parameter is used internally for the recursive traversal.If a null value is specified, no indentation norlinefeeds will be generated.
Parameters:
  namespace - is the XML schema namespace prefix. If neitherempty nor null, each element will be prefixed with this prefix,and the root element will map the XML namespace.
exception:
  IOException - if something fishy happens to the stream.




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.