Assessment
It�s a significant element of dealing with Coherence since the research must be gone in the network. The fresh new Mobile Object Structure (also referred to as POF) try a words agnostic digital style. POF was designed to end up being incredibly productive both in place and you will some time was a foundation aspect in dealing with Coherence. More resources for the brand new POF binary load, look for “The PIF-POF Binary Format” in the Oracle Coherence Developer’s Guide .
Why would I personally use POF
There are several options available regarding serialization including practical Coffee serialization, POF, and your own individualized serialization behavior. Each provides their particular exchange-offs. Fundamental Java serialization is not difficult to implement, supporting cyclic target graphs and conserves target identity. Unfortunately, furthermore relatively slow, enjoys good verbose digital structure, and limited to just Coffees things.
It is rather successful, inside an easy decide to try category which have a set , a long , and you may around three ints , (de)serialization are seven minutes smaller, plus the digital introduced try that 6th the size and style weighed against standard Coffees serialization.
Coping with POF
POF requires that pertain serialization behaviors you to know how to serialize and you will deserialize your own items. There are two a way to do this:
Applying this new PortableObject program
As mentioned more than, POF issue is indexed. They do this by providing a numerical index for each element which you make otherwise realize about POF stream. Continue reading “Serialization involves encoding an item to the a binary structure”