public abstract class JarCache extends Object
The remoting library supports local jar file caching for the efficiency in remote class loading. The cache stores jar files sent by the other side, and identifies jars with MD5 checksums that uniquely identifies its content. This allows the cache to be reused by future channel sessions or other concurrent channel sessions.
|Modifier and Type||Field and Description|
Default JAR cache location for disabled workspace Manager.
|Constructor and Description|
|Modifier and Type||Method and Description|
Looks up the jar in cache, and if not found, use
public static final File DEFAULT_NOWS_JAR_CACHE_LOCATION
@NonNull public abstract Future<URL> resolve(@NonNull Channel channel, long sum1, long sum2) throws IOException, InterruptedException
JarLoaderto retrieve it from the other side.
This method must be concurrency-safe.
Copyright © 2004–2022. All rights reserved.