
package org.apache.hyracks.storage.am.lsm.btree.impl;

import org.apache.hyracks.api.exceptions.HyracksDataException;

@SuppressWarnings("rawtypes")
public class NoOpTestCallback implements ITestOpCallback {
    public static final NoOpTestCallback INSTANCE = new NoOpTestCallback();

    private NoOpTestCallback() {
    }

    @SuppressWarnings("unchecked")
    public static final <T> ITestOpCallback<T> get() {
        return INSTANCE;
    }

    @Override
    public void before(Object t) throws HyracksDataException {
        // NoOp
    }

    @Override
    public void after(Object t) throws HyracksDataException {
        // NoOp
    }

}
