GigaSpaces XAP 7.0 API

com.j_spaces.core.cluster
Class ClusterPolicy.CacheLoaderConfig

java.lang.Object
  extended by 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.
 
Constructor Summary
ClusterPolicy.CacheLoaderConfig()
           
 
Method Summary
static boolean centralDataSourceDefault()
           
static boolean externalDataSourceDefault()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

ClusterPolicy.CacheLoaderConfig

public ClusterPolicy.CacheLoaderConfig()
Method Detail

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.