public final class IdAllocationManager extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
allocate(hudson.model.Run<?,?> owner,
String id,
hudson.model.TaskListener taskListener) |
void |
free(String n)
Release a resource
|
static IdAllocationManager |
getManager(hudson.model.Computer node) |
public String allocate(hudson.model.Run<?,?> owner, String id, hudson.model.TaskListener taskListener) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static IdAllocationManager getManager(hudson.model.Computer node)
public void free(String n)
Copyright © 2004-2016. All Rights Reserved.