org.babyfish.jimmer.sql.cache.chain.Binder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql Show documentation
Show all versions of jimmer-sql Show documentation
A revolutionary ORM framework for both java and kotlin
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
}
}