org.infinispan.config
Interface GlobalConfiguration.SerializationConfig

All Known Implementing Classes:
GlobalConfiguration.SerializationType
Enclosing class:
GlobalConfiguration

public static interface GlobalConfiguration.SerializationConfig

Configures serialization and marshalling settings.

Since:
5.0
Author:
Vladimir Blagojevic

Method Summary
 GlobalConfiguration.ExternalizersConfig configureExternalizers()
          Returns externalizers sub element
 GlobalConfiguration.SerializationConfig marshallerClass(Class<? extends Marshaller> c)
          Fully qualified name of the marshaller to use.
 GlobalConfiguration.SerializationConfig version(String s)
          Largest allowable version to use when marshalling internal state.
 

Method Detail

marshallerClass

GlobalConfiguration.SerializationConfig marshallerClass(Class<? extends Marshaller> c)
Fully qualified name of the marshaller to use. It must implement org.infinispan.marshall.StreamingMarshaller

Parameters:
marshallerClass -

version

GlobalConfiguration.SerializationConfig version(String s)
Largest allowable version to use when marshalling internal state. Set this to the lowest version cache instance in your cluster to ensure compatibility of communications. However, setting this too low will mean you lose out on the benefit of improvements in newer versions of the marshaller.

Parameters:
marshallVersion -

configureExternalizers

GlobalConfiguration.ExternalizersConfig configureExternalizers()
Returns externalizers sub element

Returns:
ExternalizersConfig element


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.