All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.astyanax.KeyspaceTracerFactory Maven / Gradle / Ivy

There is a newer version: 3.10.2
Show newest version
package com.netflix.astyanax;

import com.netflix.astyanax.model.ColumnFamily;

/**
 * TODO: Rename to AstyanaxTracerFactory
 * 
 * @author elandau
 * 
 */
public interface KeyspaceTracerFactory {
    /**
     * Create a tracer for cluster level operations
     * 
     * @param type
     * @return
     */
    CassandraOperationTracer newTracer(CassandraOperationType type);

    /**
     * Create a tracer for a column family operation
     * 
     * @param type
     * @param columnFamily
     * @return
     */
    CassandraOperationTracer newTracer(CassandraOperationType type, ColumnFamily columnFamily);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy