KunwarAbhay Singh

Greenhorn
+ Follow
since Nov 07, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by KunwarAbhay Singh

@Wouter : Variable [i,j,k] call methods create, authenticate and find of three different class....
9 years ago
@Wouter: thanks for the advice.....I will try to embed the suggestion given by you into my code. But, is it possible to write into single file through multiple threads?


@John: Please find the modified code below:
[Example.java]

[TestFind.java]






Waiting for reply....as i m really stuck
9 years ago
[Example.java]


[TestFind.java]



Hi all, I am having these 2 classes where the class TestFind.java writes the value of 'i' to a properties file. Now Example.java calls up TestFind.java 3 times using ExecutorService, what I want is to store the vale of 'i' in properties file every time Testfind.java is being called i.e. if its being called 3 times from Example.java then in properties file 6 times the value of i must get stored (as in every call to TestFind.java it stores 2 values of 'i' in properties file)

Please Help................







9 years ago