issues
search
naver
/
arcus-java-client
ARCUS Java client
Apache License 2.0
50
stars
47
forks
source link
CLEANUP: tidy MemcachedClient codes
#800
Closed
oliviarla
closed
2 months ago
oliviarla
commented
2 months ago
๐ Related Issue
https://github.com/jam2in/arcus-works/issues/335
์ ์ผํ์ผ๋ก ์ฝ๋ ์ ๋ฆฌ ํฉ๋๋ค.
โจ๏ธ What I did
์ฉ์ด ๋ณ๊ฒฝ
unserialize -> deserialize
tc_iter -> tcIter
tc_map -> tcMap
๋๊ธฐ ๋ฐฉ์ ๋ฉ์๋ ์ ๊ณต ์ future.get ํ์ฌ ์์ธ์ฒ๋ฆฌํ๋ ์ฝ๋์ ์ค๋ณต์ getFromFuture ๋ฉ์๋๋ก ๋ถ๋ฆฌ
addKeyToMap ๋ฉ์๋์์ Map.computeIfAbsent ์ฌ์ฉํ๋๋ก ๋ณ๊ฒฝ
run ๋ฉ์๋์์ ์์ธ ์ฒ๋ฆฌ ๋จ์ํ (CancelledKeyException, ClosedSelectorException์ IllegalStateException์ ํ์ ํ์ ์ด๋ฏ๋ก ๋ณ๋๋ก ์ฒดํฌํ์ง ์์๋๋จ)
๐ Related Issue
โจ๏ธ What I did