Package org.apache.cassandra.thrift

Examples of org.apache.cassandra.thrift.ITransportFactory


    }

    private ITransportFactory getClientTransportFactory(String factoryClassName)
    {
        try {
            ITransportFactory factory = (ITransportFactory) Class.forName(factoryClassName).newInstance();
            Map<String, String> options = getOptions(factory.supportedOptions());
            factory.setOptions(options);
            return factory;
        }
        catch (Exception e) {
            throw new RuntimeException("Failed to instantiate transport factory:" + factoryClassName, e);
        }
View Full Code Here

TOP

Related Classes of org.apache.cassandra.thrift.ITransportFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.