| Constructor and Description |
|---|
Juggler(Class<P> providerClass,
Class<R> resourceClass,
int recoveryCheckSeconds,
JugglingPinFactory<P,R> jugglingPinFactory,
P... providers) |
Juggler(Class<P> providerClass,
Class<R> resourceClass,
int recoveryCheckSeconds,
JugglingPinFactory<P,R> jugglingPinFactory,
P provider,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBlackList(BlacklistEntry<R> blacklistEntry) |
void |
deconstruct() |
void |
deconstruct(Method method,
Object... args) |
void |
initialize() |
R |
pickResource() |
void |
shutdown() |
void |
shutdown(Method method,
Object... args) |
void |
startup() |
void |
startup(Method method,
Object... args) |
public Juggler(Class<P> providerClass, Class<R> resourceClass, int recoveryCheckSeconds, JugglingPinFactory<P,R> jugglingPinFactory, P provider, int size)
public void initialize()
throws JugglerResourceCreationException
JugglerResourceCreationExceptionpublic void startup()
public R pickResource() throws NoAvailableJugglerResourceException
public void addToBlackList(BlacklistEntry<R> blacklistEntry)
addToBlackList in interface BlackList<R>public void shutdown()
public void deconstruct()
Copyright © 2019. All rights reserved.