Redis & Jedis
Software활용 2020. 3. 27. 16:25

Redis와 Redis 관련 정보를 다음 url에서 발췌해서 적는다 https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-java-jedis-md Jedis는 Single 스레드이다 멀티스레드 환경에서 절대로 동일한 Jedis Connection instance를 같은 시간에 사용하지 말아라 만약에 동시 접근을 하게 된다면 "expected '$' but got'" 과같은 오류 메시지를 확인 할 것이다. JedisPool을 사용해라 멀티스레드 환경에서 connections을 재활용 할 수 있게 해준다 JedisPool Object는 thread-safe하게 작성되었다 Pool은..

android keyboard show on the web
Android 2020. 3. 27. 16:25

Android에서 Keyboard 작동을 위한 요소 Input Method Manager : 클라이언트 Side의 application context에 위치 하면서 Android 전체 시스템 상 프로세스 간의 통로 역할을 한다 Input Method (IME & Keyboard) : 쉽게 keyboard라고 생각하면 된다. 사용자의 text를 생성하고 입력할 수있게 하는 역할을 한다. IME는 오직 한번에 하나만 화면에 표시 될 수있다. Client Application : IME을 사용하는 대상 application이 되며, 한번에 오직 하나의 입력 화면(소스를 보면 View라고 생각된다)과 Active 상태를 유지 할 수있다. InputMethd Framework (IMF) 의 보안적 제한 Input..

Docker Ubuntu VM 만들기
OS 2020. 3. 27. 16:21

image 다운로드 [root@localhost admin]# docker pull ubuntu:16.04 Trying to pull repository docker.io/library/ubuntu ... 16.04: Pulling from docker.io/library/ubuntu fe703b657a32: Pull complete f9df1fafd224: Pull complete a645a4b887f9: Pull complete 57db7fe0b522: Pull complete Digest: sha256:e9938f45e51d9ff46e2b05a62e0546d0f07489b7f22fbc5288defe760599e38a Status: Downloaded newer image for docker.io/u..