GUFI | Grand Unified File-Index
kandi X-RAY | GUFI Summary
kandi X-RAY | GUFI Summary
GUFI is part of MarFS, which is released under the BSD License. LA-CC-15-039.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GUFI
GUFI Key Features
GUFI Examples and Code Snippets
Community Discussions
Trending Discussions on GUFI
QUESTION
I have a rather large Eclipse 4.6.3 workspace with many Java EE 7 and E4 projects in it. Since some time (I think since I switched from Glassfish to JBoss/Wildfly) editing became quite a challenge. As soon as I type some background process is doing some work (CPU load between 10 and 25%) for and blocks the editing. After some seconds (sometimes even up to a minute) CPU load is back to zero.
How can I find out which background tasks are being executed? I have the progress window open but none are shown. Sometimes, I see that the editor tries to sync its views or that there's 'as you type JBT validation). I suspect, however, that these reported tasks, too, are slowed down by whatever is secretly industrious.
I have this issue on different machines, all of them fairly good ones. I have tried many things already such as closing a third of all projects, deactivating window syncing, starting eclipse with -clean or even -resetPersistedState, updating Eclipse components...
Thanks for any hints! gufi
...ANSWER
Answered 2017-Jul-14 at 08:16One of my colleagues (probably) found the source of the problem:
During editing any of the bean classes Eclipse synchronizes the deployment descriptor in the project explorer. As the project contains >100 beans this takes some time and freezes my editing.
Resolution: In the project eplorer's view menu choose 'customize view', then on the content tab unselect the extensions that care about the deployment descriptor. These are the ones I chose:
- J2EE EJB Deployment Descriptors
- Java EE Navigator Content EJB
- J2EE Web Deployment Descriptors
- J2EE Application Deployment Descriptors
Kind regards gufi
QUESTION
I am working with java ee 7 batch and - from a different thread of execution - would like to retrieve info on the progress of the job. I know I can always retrieve the job execution but I would like more detailed info, such as how many records have been processed.
Is there a way to feed this information back into the batch framework during processing so that I could retrieve it in the other thread? As far as I've seen I cannot update the job properties during processing.
Thanks, regards, gufi.
...ANSWER
Answered 2017-Jun-12 at 08:29Batch API does not mandate any progress monitoring but it is really easy to roll your own - have a look at batch listeners - that way you have access to all phases of batch execution(read, process, write) and you can just plug in some custom reporting - e.g. update the job values in DB, or send them via JMS to some listener or websocket or anything you like.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GUFI
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page