com.j_spaces.core.cluster
Class ClusterPolicy.CacheLoaderConfig
java.lang.Object
com.j_spaces.core.cluster.ClusterPolicy.CacheLoaderConfig
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- ClusterPolicy
public static final class ClusterPolicy.CacheLoaderConfig
- extends Object
- implements Externalizable
cache-loader configuration
- See Also:
- Serialized Form
Field Summary |
boolean |
centralDataSource
true if cluster interacts with a central-data-source; default: false. |
boolean |
externalDataSource
true if cluster holds at least one external data-source; default: false. |
externalDataSource
public boolean externalDataSource
- true if cluster holds at least one external data-source; default: false.
centralDataSource
public boolean centralDataSource
- true if cluster interacts with a central-data-source; default: false.
ClusterPolicy.CacheLoaderConfig
public ClusterPolicy.CacheLoaderConfig()
externalDataSourceDefault
public static boolean externalDataSourceDefault()
- Returns:
- the default value of external-data-source property
centralDataSourceDefault
public static boolean centralDataSourceDefault()
- Returns:
- the default value of central-data-source property
toString
public String toString()
- Overrides:
toString
in class Object
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © GigaSpaces.