separation
This commit is contained in:
parent
731ab343b5
commit
c0c72bc3ca
@ -78,9 +78,10 @@ public class ChargingPileServer {
|
||||
public static void disconnPileNGuns(String pileNo) {
|
||||
|
||||
ClientHandler handler = handlerMap.remove(pileNo);
|
||||
if(handler!=null)
|
||||
if(handler!=null) {
|
||||
handler.closeConnection();
|
||||
log.debug("handler [{}] for ({}) close connection", handler.getName(), pileNo);
|
||||
log.debug("handler [{}] for ({}) close connection", handler.getName(), pileNo);
|
||||
}
|
||||
String pkey = "pile:".concat(pileNo);
|
||||
Map<String, Object> cachePile = REDIS.getCacheMap(pkey);
|
||||
putemDisconn(pileNo, cachePile);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user