com.xzchaoo.commons.syncexclusiveexecutor.SyncExclusiveExecutor Maven / Gradle / Ivy
The newest version!
package com.xzchaoo.commons.syncexclusiveexecutor;
import lombok.Data;
import com.xzchaoo.commons.basic.Ack;
/**
* created at 2020/7/25
*
* @author xzchaoo
*/
public interface SyncExclusiveExecutor {
Ack acquire(int type);
Stat stat();
@Data
class Stat {
private int waiting;
private int wip;
private int executingType;
private int executed;
private long forceReleaseTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy