Join Ketkee Aryamane for an in-depth discussion in this video scheduleAtFixedRate and scheduleWithFixedDelay, part of Java EE: Concurrency and Multithreading.
- [Teacher] Let's look at the other…two flavors of the method that we have.…Schedule With Fixed Delay, and shedule At Fixed Rate.…Let's go back to the IDE and I'm going…to come in this previous scheduled call that we did.…And instead, I'm going to say,…service.scheduleAtFixedRate.…Okay, It is going to demand from you the runnable instance…so, let's say cleaning scheduler, then, an initial delay…that will be five seconds, a long period,…let's say that four seconds and of course,…the time unit is seconds that we want.…
Now, please understand that scheduling jobs…generally occur in days, okay, but right now,…for the demonstration purposes,…I'm keeping the time unit as seconds.…Otherwise, I wouldn't be able to show you…how it is scheduled and how the run happens.…Okay.…There's one more thing that I have to do,…since I'm scheduling this job,…I have to run it periodically and I'm going to show you…at least two runs or three runs of this method call.…And in order to do that, I'll have to go back…to the cleaning scheduler and just comment on this call.…
- What is concurrency?
- Processes and threads in Java SE
- Java EE concurrency APIs
- Working with the ManagedExecutorService, ManagedScheduledExecutorService, ManagedThreadFactory, and ContextService APIs
- Defining data access object (DAO) classes
- Adding methods to DAO classes
- Writing REST classes
- Creating custom thread factories
- Creating contextual proxies
- JTA transactions and concurrency
Skill Level Advanced
Java EE: Servlets and JavaServer Pages (JSP)with Ketkee Aryamane6h 14m Intermediate
1. Overview and Setup
2. Processes and Threads
3. Executor API
4. Java EE Concurrency APIs
5. Concurrency and Transactions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.