public abstract class AbstractShooting extends Object implements Shooting
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractShooting.DataDO |
Shooting.ShootingDO| Modifier | Constructor and Description |
|---|---|
protected |
AbstractShooting(Map<String,Object> context) |
|
AbstractShooting(String url,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Shooting.ShootingDO> |
getShooting() |
void |
hitIncr(String pattern,
int count) |
protected abstract Supplier<org.springframework.jdbc.core.JdbcOperations> |
jdbcOperationsSupplier(Map<String,Object> context)
1.
|
static HashMap<String,Object> |
newHashMap(Object... keyValues) |
void |
reqIncr(String pattern,
int count) |
void |
reset(String pattern) |
void |
resetAll() |
void |
tearDown() |
protected abstract Stream<AbstractShooting.DataDO> |
transferResults(List<Map<String,Object>> map)
convert DB Map Result to DataDO(Stream)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsummaryNameprotected abstract Supplier<org.springframework.jdbc.core.JdbcOperations> jdbcOperationsSupplier(Map<String,Object> context)
context - :other parameters from constructorprotected abstract Stream<AbstractShooting.DataDO> transferResults(List<Map<String,Object>> map)
map - result from query DB.public Map<String,Shooting.ShootingDO> getShooting()
getShooting in interface Shooting@PreDestroy public void tearDown()
Copyright © 2019. All rights reserved.