Package com.atlassian.bamboo.cluster
Class PerNodeLocalQueueFactory
- java.lang.Object
-
- com.atlassian.bamboo.cluster.PerNodeLocalQueueFactory
-
public class PerNodeLocalQueueFactory extends Object
CreatesPerNodeLocalQueue
for givenBambooNodeInfo
and nodeQueueNumber, so it is easy to switch to a different queue implementation.- Since:
- 9.5
-
-
Constructor Summary
Constructors Constructor Description PerNodeLocalQueueFactory(BambooHomeLocator bambooHomeLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerNodeLocalQueue
create(BambooNodeInfo node, int nodeQueueNumber)
File
getOrCreateQueueHome()
-
-
-
Constructor Detail
-
PerNodeLocalQueueFactory
@Inject public PerNodeLocalQueueFactory(BambooHomeLocator bambooHomeLocator)
-
-
Method Detail
-
getOrCreateQueueHome
public File getOrCreateQueueHome() throws IOException
- Throws:
IOException
-
create
public PerNodeLocalQueue create(BambooNodeInfo node, int nodeQueueNumber) throws IOException
- Throws:
IOException
-
-