Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Java EE Development with WildFly

You're reading from   Mastering Java EE Development with WildFly Create Enterprise-grade Java applications with WildFly

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787287174
Length 468 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Luca Stancapiano Luca Stancapiano
Author Profile Icon Luca Stancapiano
Luca Stancapiano
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Introducing Java EE and Configuring the Development Environment 2. Working with Dependency Injection FREE CHAPTER 3. Persistence 4. Implementing Business Logic 5. Working with Distributed Transactions 6. Creating REST Services 7. Implementing WebSockets 8. Working with Messaging 9. Implementing a Mail Client 10. Asynchronous REST 11. Asynchronous EJB 12. Batches and Workflows 13. Working with Servlets and JSP 14. Writing a JSF Application 15. Sharing the Web Sessions 16. WildFly in Cloud 17. Share your Data 18. Deployment 19. Working with OSGi

Metrics and step execution

Through the metrics, you can monitor the following properties described in the javax.batch.runtime.Metric enum:

  • READ_COUNT: How many times the item is read inside a step. In the case of the Payroll job seen in the Chunks section, we will have three read items for the job at the end.
  • WRITE_COUNT: How many times the item is written inside a step. In the case of the payroll job seen in the Chunks section, we will have three written items for the job at the end.
  • COMMIT_COUNT: How many commits are done to write the items. In the case of the payroll job seen in the Chunks section, we have two commits 2+1 at the end.
  • ROLLBACK_COUNT: The number of rollbacked items. If we get errors in the write of the items, it will increment.
  • READ_SKIP_COUNT: An item can be skipped according to the batch status returned by the read of item.
  • PROCESS_SKIP_COUNT: An item can...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime