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

com.wepay.waltz.common.metadata.StoreMetadataMutexAction Maven / Gradle / Ivy

There is a newer version: 0.13.2
Show newest version
package com.wepay.waltz.common.metadata;

import com.wepay.waltz.exception.StoreMetadataException;

/**
 * This method implements the {@link com.wepay.zktools.zookeeper.MutexAction} for the store metadata.
 */
public interface StoreMetadataMutexAction {

    /**
     * This method applies the mutex action to the {@link StoreMetadata}'s mutex session.
     * @param session The {@link StoreMetadataMutexSession}.
     * @throws StoreMetadataException thrown if unable to read metadata from the store.
     */
    void apply(StoreMetadataMutexSession session) throws StoreMetadataException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy