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

org.babyfish.jimmer.sql.cache.chain.Binder Maven / Gradle / Ivy

The newest version!
package org.babyfish.jimmer.sql.cache.chain;

import org.babyfish.jimmer.meta.ImmutableProp;
import org.babyfish.jimmer.meta.ImmutableType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.Collection;

public interface Binder {

    @Nullable ImmutableType type();

    @Nullable ImmutableProp prop();

    default @NotNull TrackingMode tracingMode() {
        return TrackingMode.NONE;
    }

    void deleteAll(Collection keys, Object reason);

    enum TrackingMode {
        NONE,
        CONSUMER,
        PRODUCER
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy