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

com.taobao.drc.clusterclient.partition.IPartition Maven / Gradle / Ivy

There is a newer version: 5.0.0.1.beta
Show newest version
package com.taobao.drc.clusterclient.partition;

import com.taobao.drc.clusterclient.util.Gaugeable;

import java.util.Map;

/**
 * @author yangyang
 * @since 2017/7/6
 */
public interface IPartition extends Gaugeable {
    String getName();

    void ackAsConsumed(C checkpoint);

    long getHeartbeatTimeInSec();

    C getCheckpoint();

    String getGuid();

    String getGroup();

    String getTopic();

    Integer getPartitionId();

    Integer getPartitionNum();

    Iterable getCheckpoints();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy