|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.configuration.cache.StoreAsBinaryConfiguration
public class StoreAsBinaryConfiguration
Controls whether when stored in memory, keys and values are stored as references to their original objects, or in a serialized, binary format. There are benefits to both approaches, but often if used in a clustered mode, storing objects as binary means that the cost of serialization happens early on, and can be amortized. Further, deserialization costs are incurred lazily which improves throughput.
It is possible to control this on a fine-grained basis: you can choose to just store keys or values as binary, or both.
StoreAsBinaryConfigurationBuilder
Method Summary | |
---|---|
boolean |
enabled()
Enables storing both keys and values as binary. |
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
storeKeysAsBinary()
Enables storing keys as binary. |
boolean |
storeValuesAsBinary()
Enables storing values as binary. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean enabled()
public boolean storeKeysAsBinary()
public boolean storeValuesAsBinary()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |