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

  • SEARCH
  • Home
  • 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 6866523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:11:41+00:00 2026-05-27T03:11:41+00:00

So, this is my scenario: I’ve got an UI, where the user can click

  • 0

So, this is my scenario:
I’ve got an UI, where the user can click buttons to connect to several urls.
I do also have a service which connects to an other url every X minuits.

Now I want to let my service check, if currently any other url is loaded (by the user in the UI) before connecting to its own url, because I don’t want the service to interrup the user operation.

Thanks in advance :]

  • 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-05-27T03:11:41+00:00Added an answer on May 27, 2026 at 3:11 am

    Use booleans to flag wither you are doing something or not. You might also create enum of states and do checking the service every time you are about to perform action. You might find useful implementing queues for this purpose. For example: If the service perform something you add the element (that can be action or whatever) to the queue and that element waits until its turn comes :).

    I hope the idea will be helpful.

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

Sidebar

Related Questions

I have this scenario. I want group on Country and Category. A store can
Given this scenario where you have transfer objects (POJO's with just getters/setters) which are
Consider this scenario; suppose I have WPF window which have four objects bonded to
i have this scenario. User enter some stuff on jsp form in browser and
Consider this scenario that two WCF clients connect to one WCF service(server), this service
Imagine this scenario: you have a WCF web service that gets hit up to
we have this scenario: A server which contains needed data and client component which
Consider this scenario: You have a textbox in which you have to write some
Consider this scenario we have a class A which is singleton it has a
I have this scenario in my 3-tier app with a Service Layer that serves

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.