Skip to content

Instantly share code, notes, and snippets.

@rolroralra
rolroralra / Refactoring.md
Created February 21, 2022 16:47
Refactoring
@rolroralra
rolroralra / SpringFramework.md
Created February 21, 2022 03:25
SpringFramework

public class HttpFactoryBean implements FactoryBean<HttpClient>{

private String host;
private int port;


public HttpClient getObject() throws Exception {
 return new StdHttpClient.Builder()
@rolroralra
rolroralra / Swagger.md
Last active February 3, 2022 05:54
Swagger
@rolroralra
rolroralra / Mysql.md
Last active February 19, 2022 12:03
Mysql
@rolroralra
rolroralra / AOP.md
Last active July 15, 2022 11:54
AOP (Aspect Oritented Programming)

Pointcut designators (execution, this, target, within, args) in Spring AOP

https://tedblob.com/pointcut-designators-of-spring-aop/#:~:text=Args%20limits%20matching%20to%20join,instances%20of%20the%20given%20types.&text=This%20expression%20matches%20the%20methods,passed%20at%20runtime%20is%20Serializable.


JoinPoint - Target, This, Args, Kind, Signature, StaticPart

  • getArgs

the method arguments

  • getThis

the proxy object. This will always be the same object as that matched by the this pointcut designator.

@rolroralra
rolroralra / html.md
Last active June 7, 2022 00:55
HTML
@rolroralra
rolroralra / Intellij.md
Last active November 10, 2022 05:40
Intellij

Gradle Daemon idle timeout 설정

IntelliJ에서 띄운 Gradle Daemon은 idle timeout이 설정되어 있지 않습니다. 그래서 IntelliJ가 죽거나 Gradle을 오랫동안 사용하지 않아도 프로세스가 계속 살아있어 시스템 메모리가 부족하게 됩니다.

아래와 같이 idle ttl을 설정하면, Gradle Daemon이 일정시간 이상 사용하지 않으면 알아서 꺼집니다.

Help > Edit Custom Properties

idea.properties 파일을 생성한 후 아래의 내용을 추가합니다.

후배님 공유사항

- 책

가상 면접 사례로 배우는 대규모 시스템 설계 기초
대규모 서비스를 지탱하는 기술
네이버를 만든 기술, 읽으면서 배운다 자바편
자바 개발자와 시스템 운영자를 위한 트러블 슈팅 이야기 or 자바 트러블슈팅 (신간)
개발자가 반드시 알아야 할 자바 성능 튜닝 이야기