use of org.springframework.cloud.gcp.data.spanner.core.mapping.event.BeforeDeleteEvent in project spring-cloud-gcp by spring-cloud.
the class SpannerTemplate method applyDeleteMutations.
private void applyDeleteMutations(Class<?> entityClass, KeySet keys, List<Mutation> mutations) {
maybeEmitEvent(new BeforeDeleteEvent(mutations, null, keys, entityClass));
applyMutations(mutations);
maybeEmitEvent(new AfterDeleteEvent(mutations, null, keys, entityClass));
}
Aggregations