Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:12:56+00:00 2026-06-02T23:12:56+00:00

i am working on an application that works with an array of async calculations.

  • 0

i am working on an application that works with an array of async calculations.

heres how the job cerated:

    List<F.Promise<PredictionCalculator>> promises = new ArrayList<F.Promise<PredictionCalculator>>();
    predictWithJobResult pj = new predictWithJobResult(parameter).now;
    promises.add(pj)

i do this for n number of times, and after adding jobs to the queue, i execure this code:

promises.notifyAll();

so jobs are starting to run, my problem is, this job is running on every 60mins. so if there is a job already running with “x” parameter, it has to skip adding this job into the queue again.

So my question is, how can i query running jobs and their parameters? is it possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:12:58+00:00Added an answer on June 2, 2026 at 11:12 pm

    Why not build a running job queue object (Singleton) which you can query in which jobs check for their paramaters on the queue before running, add themselves while running, and remove themselves when finished.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a C# application that works with an array. It walks
I'm working on a Silverlight application that works with WCF services. While loading the
I'm working on a little application that multiples an array with a Matrix. It
I'm working on a server application that's going to work on Linux and Mac
I am working on splitting out an existing, working application that I currently have
Im working on an application that needs to talk to a database. The application
I'm working with an application that allows the customer to customize what shortcut keys
I'm working on an application that allows users to add their own RSS feeds
I am working with an application that is used by multiple clients. Each client
I am working on an application that uses Oracle's built in authentication mechanisms to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.