Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

resourcelimitor

a class to limit the count of the threads that can access to some shared resource.

ResourceLimitor limitor = new ResourceLimitor();
if(limitor.applyResource()){
try{
method.invoke();
}catch(Exception ex){
}finally{
limitor.releaseResource();
}
}

About

a class to limit the count of the threads that can access to some shared resource.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors