public abstract class EzyAbstractSessionFactory<S extends EzySession> extends Object implements EzySessionFactory<S>
| Modifier and Type | Field and Description |
|---|---|
protected AtomicInteger |
counter |
protected EzySessionManagementSetting.EzyMaxRequestPerSecond |
maxRequestPerSecond |
| Constructor and Description |
|---|
EzyAbstractSessionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initSession(EzyAbstractSession session) |
S |
newProduct() |
protected abstract S |
newSession() |
protected EzySessionManagementSetting.EzyMaxRequestPerSecond maxRequestPerSecond
protected final AtomicInteger counter
public final S newProduct()
newProduct in interface com.tvd12.ezyfox.pattern.EzyObjectFactory<S extends EzySession>protected void initSession(EzyAbstractSession session)
protected abstract S newSession()
Copyright © 2021 Young Monkeys. All rights reserved.