|
Content with label faq-code-examples in Coherence FAQ (See content from all spaces)
Related Labels:
serialization
, cachestore
, namedcache
, security
, size
, extend
, singleton
, jmx
, wan
, mutex
, cache-size
, example
, cache
, optimization
, invocation
, synchronize
, coherence-cache-config
, hibernate
, expiry
,
cluster
more »
How can I access Coherence cache from a C++ application?
attached example How can I access Coherence cache from a C application?cppexample.tar.gz consists of two basic components, one written in Java and the other written in C, and demonstrates how to access Coherence cache from a C\ application ...
|
How can I build JavaBeans to be version-safe?
Q: How can I design my JavaBeans so that they are very efficiently serialized (e.g. using {{ExternalizableLite}}) yet will be both forwards and backwards compatible at the binary level as new versions of those same JavaBeans are introduced? A: See the attached example ...
|
How can I call the .NET API from a C++ application?
COHFAQ:attached example How can I call the .NET API from a C application?cpp.zip demonstrates how to call the .NET API from a C application running on Windows. See the {{README.txt}} file in the attached archive for complete details
|
How can I connect separate Coherence clusters together?
attached examples http://wiki.tangosol.com/pages/viewpageattachments.action?pageId=16803 demonstrate how to use the features of CoherenceExtend to enable one Coherence cluster to access caches from another Coherence cluster and visa versa. Use cases for this type of configuration include ...
|
How can I identify "Hot Keys" in my Partitioned Cache?
Partitioned caches which contain a small set of very hot keys have the potential to unevenly balance cluster traffic. The attached agent shows how to check for such keys. To use this agent, include the {{HotKeyAgent.jar}} (source HotKeyAgent.java) file in the classpath of each ...
|
How can I optimize serialization time and size of objects?
Attached serializationtest.jar is a quick test harness showing the difference in both the serialized size and serialization times for three objects, one using Java serialization, one using the Oracle Coherence {{ExternalizableLite}} serialization and one using the Oracle Coherence {{XmlBean}} framework ...
|
How can I profile my queries and verify that all used fields are indexed?
attached example ProfilerFilter.java COHFAQ:How can I profile my queries and verify that all used fields are indexed?ProfilerFilter.java demonstrates how to write and use a profiling filter that could log query execution times and warnings when fields ...
|
How can I restrict a Coherence*Extend client's access to a cache?
attached example security.jar demonstrates how to authenticate a CoherenceExtend client and pass the client's identity to the cluster, where it is used to enforce entitlements on a target {{NamedCache}}. The attached JAR file includes both .NET and Java sample clients. A CoherenceExtend client authenticates ...
|
How can I use the Coherence Invocation Service?
attached files show how to use the Invocation Service. The InvocationClient InvocationClient.java demonstrates how to make distributed invocation requests. The InvocationServer InvocationServer.java shows how to sign up a JVM to the Invocation Service and make it available for request fulfillment. To run this example ...
|
How do I bulk load and process items in a Coherence Cache?
attached example PagedQuery.java demonstrates techniques used to efficiently load and process items in a Coherence Cache. See the "PreLoading the Cache COH34UG:PreLoading the Cache" wiki page for a complete explanation of these patterns. This version of the example does not bypass the the near cache, as the inefficiencies ...
|
|
|