python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How Cache in Guava deletes its expired items, using a timer thread or checking items' validity when access them
I'm using Guava's cache in my program. I expected Guava may use a timer thread to expire its items, but I checked the source code and it seems Guava would clear its expired items only when program tri...
Master Qiao
Votes: 0
Answers: 0
NoSuchMethodError with Guava , GCP Cloud Storage & Datastax
java.lang.NoSuchMethodError: com.google.common.io.ByteStreams.exhaust(Ljava/io/InputStream;)J
Getting above error msg , when using Guava - 18.0v with Cloud Storage - 2.2.2v:
<dependency>
...

Anil kumar
Votes: 0
Answers: 2
Is get() thread-safe operation in Guava's cache?
I found out that put and get with CacheLoader operations use Reentrant lock under the hood, but why this is not implemented for getIfPresent operation?
get which is used by getIfPresent
@Nullable
...

segu
Votes: 0
Answers: 2
Guava NoClassDefFoundErroron Eclipse
I'm trying to use Guava without Maven on Eclipse. I downloaded the JAR file from here and then followed this. However, when I try to run
Set<Set<Card>> combos = Sets.combinations(Immutable...
DimitrisMel
Votes: 0
Answers: 1