I have a class Shop. In main i create 3 shop objects in main run method in the shop class I would like threads to sync every 30 days. So every 3 ...
I have a class Shop. In main i create 3 shop objects in main run method in the shop class I would like threads to sync every 30 days. So every 3 ...
Currently I have a main thread that constantly loops: var suspension = Suspension() fun loop() { // Doing stuff here... suspension. ...
When starting the application, I first need to synchronize the data in the database so that users can view the data offline. Therefore, I created a sp ...
let's consider two arrays containing indices: These arrays may have slightly different length, approximately up to 3 indices. In this example let's ...
I'm trying to automate my backup to the cloud (Strato HiDrive). I configured the cloud storage to be only accessible via rsync (encrypted via ssh). W ...
I am very new to programming, and I am trying to write a Java program with the Timer and ChecksUserInput classes shown below. How do I get them to run ...
Before I start: I have absolutely no clue about programming whatsoever and basically just want to know if the thing I need is possible (within an appr ...
In the code, Collections.synchronizedList, prompt me Cannot resolve symbol synchronizedList, I don't know what it is. I didn't find this method for ...
I'm looking for a way to sync files between 2 hosts in ansible. The scenario is as follows. I have a CSV file which contains 3 columns indicating dire ...
I have two Kafka producers create messages when creating and deleting customers. Each produces message in different topic. There exists some correspon ...
I have all of my data on my home PC in a git repo. This home PC (and therefore the git repo) is only accessible from the local LAN that the home PC i ...
I have seen the question answered on this and other sites, but in terms that only left me more confused. I often encounter an issue where I'm trying t ...
We have one hundred accounts in the bank and two clerks, implemented as threads, who transfer each 1000 times money from account with number accountNu ...
I have the problem with my ui-framework (openui5) synchronizing two different callbacks. One is a callback from a ui-event that a rendering is complet ...
The end goal is for me to copy file.txt from Host2 over to Host1. However, I keep getting the same error whenever I perform the function. I have tripl ...
This simple test mostly results as (1) rescue break, m.locked?: false but sometimes I can see (1) rescue break, m.locked?: true I expected that ins ...
I'm working on make code multi-threaded for faster data analysis. To avoid multi-threaded database connections' problem, I use Mutex to lock it. pr ...
I have a local website in which user adds items to Mysql DB everyday. Now I want to make a live version of the site. But instead of adding items to ...
Good day. I create a class instance Thread. In this thread I create udpserver. UDPREAD synchronizes with the main thread. Question: How to synchroniz ...
I have two Fragments and a File that contains a JSON representation of a List<Competitor>. In the first Fragment I create a Competitor. Then I s ...