Uses of Class
com.loomcache.client.LoomClient
Packages that use LoomClient
Package
Description
Client-side query utilities — local filtered views over distributed maps
(client proxy for the server-side
ContinuousQueryCache).-
Uses of LoomClient in com.loomcache.client
Methods in com.loomcache.client that return LoomClientModifier and TypeMethodDescriptionLoomClient.addDistributedObjectListener(DistributedObjectListener listener) LoomClient.addLifecycleListener(LifecycleListener listener) LoomClient.addMembershipListener(MembershipListener listener) LoomClient.Builder.build()ClientConfig.buildClient()FailoverLoomClient.currentClient()static LoomClientLoomClient.localhost(int port) Create a client connecting to localhost on the specified port.LoomClient.registerClass(Class<?> clazz, int id) Register an application class with this client's Kryo serializer.<T> LoomClientLoomClient.registerClass(Class<T> clazz, int id, com.esotericsoftware.kryo.Serializer<? super T> serializer) Register an application class with a class-specific Kryo serializer.Methods in com.loomcache.client with parameters of type LoomClientModifier and TypeMethodDescriptionstatic LoomCacheLoomCache.wrap(LoomClient client) Wrap an existing LoomClient in a LoomCache instance.Constructors in com.loomcache.client with parameters of type LoomClientModifierConstructorDescriptionAsyncLoomClient(LoomClient delegate) Create an async client wrapping the given synchronous client.LoomBatch(LoomClient client) Create a new batch builder.NearCacheInvalidationStrategy(LoomClient client, long nearCacheTtlMs) Create a near-cache invalidation strategy. -
Uses of LoomClient in com.loomcache.client.query
Methods in com.loomcache.client.query with parameters of type LoomClientModifier and TypeMethodDescriptionstatic <K,V> LoomQueryCache <K, V> LoomQueryCache.create(LoomClient client, String sourceMapName, BiPredicate<K, V> predicate, Class<K> keyType, Class<V> valueType) Create a client-side continuous query cache over the named map.static <K,V> LoomQueryCache <K, V> LoomQueryCache.createServerFiltered(LoomClient client, String sourceMapName, SerializablePredicate serverPredicate, Class<K> keyType, Class<V> valueType) Create a client-side continuous query cache with server-side predicate evaluation.