Tassos Bassoukos

Thessaloniki, Greece

tassos.bassoukos.gr

Age: 40

2d
answered How to print an object several times in Java?
2d
comment What is the best way to get backpressure for Cassandra Writes?
I think your use case as described would greatly benefit from RxJava; it makes retries trivial and backpressure doable.
2d
answered Is it possible to store collection objects with generics directly into the database column
2d
comment Learning Java, troubleshooting an assignment
What is the issue you're having? There's no question in your post.
Feb
6
comment Comparing strings with alphanumerics - Java
Well, what would you expect a correct solution to be?
Feb
4
comment project euler project 4: largest palindrome product
@Sal well, how do you get the 1st character of a String?
Feb
4
answered project euler project 4: largest palindrome product
Feb
3
comment Testing for upper bound violation in Java
It's not about large numbers; it's that floating point is fixed precision. You won't find that in the javadoc of Double - for a better intro and insight into the matter, read up the links in the wiki.
Feb
2
answered Generating Unique sequence number in mule
Feb
2
answered Testing for upper bound violation in Java
Feb
2
comment Running Java from terminal : cannot find text files
@Drew1902 no, just add them to the post - instead of a screenshot of a terminal...
Jan
27
answered Nested classes vs Separate class files
Jan
24
comment JAVA thread allocation?
Keep in mind that if don't use a ThreadLocal, you can only do this procedure one instance at a time; while I'm also recommending the Singleton pattern to manage the intermediate storage, I'm also feeling that this cross-thread usage of intermediate storage exposes an architectural flaw in your design.
Jan
23
comment JAVA thread allocation?
1) In all probability, the thread has already been created - see if you can connect with VisualVM to see the thread names. 2) Yes; you can also have different versions of Java with different HashMap implementations changing the order of threads; you can also have different pool sizes in development and production. However, why do you care? Your ThreadLocal should isolate the threads; if you need cross-thread access, use some kind of identifier.
Jan
23
answered Why do I need another constructor in an extended abstract class?
Jan
23
comment JAVA thread allocation?
the first log line with a different thread ID mentions 'customFramework.service.http.HttpServiceHandlerFactory' - so perhaps you're servicing some HTTP request there?
Jan
22
answered JAVA thread allocation?
Jan
21
answered Passing reference type as parameter and using generics
Jan
21
answered Why is File::listFiles faster than DirectoryStream - accepting only directories
Jan
18
comment Interfacing between App and Library - java
Are you sure you're not writing a framework instead of a library?
1 2 3 4 5