| Constructor and Description |
|---|
Juggler(Class<P> managedClass,
int recoveryCheckSeconds,
JugglingPinFactory<P,R> jugglingPinFactory,
P... providers) |
Juggler(Class<P> managedClass,
int recoveryCheckSeconds,
JugglingPinFactory<P,R> jugglingPinFactory,
P provider,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBlackList(JugglingPin<R> blackPin) |
void |
deconstruct() |
void |
initialize() |
R |
pickResource() |
void |
shutdown() |
void |
startup() |
public Juggler(Class<P> managedClass, int recoveryCheckSeconds, JugglingPinFactory<P,R> jugglingPinFactory, P provider, int size)
public void initialize()
throws JugglerResourceCreationException
JugglerResourceCreationExceptionpublic void startup()
throws JugglerResourceException
JugglerResourceExceptionpublic R pickResource() throws NoAvailableJugglerResourceException
public void addToBlackList(JugglingPin<R> blackPin)
addToBlackList in interface BlackList<R>public void shutdown()
public void deconstruct()
Copyright © 2013. All Rights Reserved.