org.apache.cassandra.config
Class KSMetaData

java.lang.Object
  extended by org.apache.cassandra.config.KSMetaData

public final class KSMetaData
extends java.lang.Object


Field Summary
 java.util.Map<java.lang.String,CFMetaData> cfMetaData
           
 IEndPointSnitch epSnitch
           
 java.lang.String name
           
 int replicationFactor
           
 java.lang.Class<? extends AbstractReplicationStrategy> repStratClass
           
 
Method Summary
static KSMetaData deserialize(java.io.InputStream in)
           
 boolean equals(java.lang.Object obj)
           
static byte[] serialize(KSMetaData ksm)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final java.lang.String name

repStratClass

public final java.lang.Class<? extends AbstractReplicationStrategy> repStratClass

replicationFactor

public final int replicationFactor

epSnitch

public final IEndPointSnitch epSnitch

cfMetaData

public final java.util.Map<java.lang.String,CFMetaData> cfMetaData
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

serialize

public static byte[] serialize(KSMetaData ksm)
                        throws java.io.IOException
Throws:
java.io.IOException

deserialize

public static KSMetaData deserialize(java.io.InputStream in)
                              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 The Apache Software Foundation