Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
함수형 프로그래밍 with 자바
by
벤 바이디히
,
허귀영
March 2024
Beginner to intermediate
528 pages
10h 48m
Korean
Hanbit Media, Inc.
Content preview from
함수형 프로그래밍 with 자바
427
CHAPTER 13
비동기 작업
●
완료 또는 실패 시 콜백과 같이 결과를 쉽게 확인할 수 있는 방법
●
함수적 구성의 원칙에 따라 여러 작업을 연결하고 결합하는 방법
●
통합된 오류 처리 및 복구 가능성
●
ExecutorService
없이도 수동으로 작업을 생성하거나 완료할 수 있는 방법
자바
8
은
Future
의 부족한 기능을 보완하기 위해
CompletionStage
<
T
>
인터페이스와 그 유
일한 구현체인
CompletableFuture
<
T
>
를
java
.
util
.
concurrent
패키지에 도입했습니다.
이는 이전의
Futures
보다 훨씬 더 다양한 기능을 제공하는 비동기 작업 파이프라인을 구
축할 수 있는 도구입니다.
Future
<
T
>
가 비동기 계산의 최종값을 담는 컨테이너 타입이라면
CompletionStage
<
T
>
는
70
개가 넘는 다양한
API
를 제공하는 비동기 파이프라인의 한 단계
를 나타냅니다. 간단히 말해,
CompletionStage
<
T
>
는
Future
<
T
>
에 비해 훨씬 더 유연하고
함수적인 비동기 프로그래밍을 지원합니다.
13.3
13.3
CompletableFutures
CompletableFutures
로 비동기 파이프라인 구축
로 비동기 파이프라인 구축
CompletableFutures
의 설계 철학은 스트림과 매우 유사합니다. 두 방식 모두 작업 기반 파
이프라인을 제공하며, 일반적인 함수형 인터페이스를 받아들이는 매개변수화된 메서드를 제
공합니다. 이 새로운
API
는
CompletionStage
나
CompletableFuture ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
실무로 통하는 클린 코드
막시밀리아노 콘티에리
함수형 사고: 객체지향 개발자에서 함수형 개발자로 거듭나기
김재완, 닐 포드
러닝 Go : Go 개발자처럼 생각하는 방법
존 보드너
AI를 위한 필수 수학
할라 넬슨
Publisher Resources
ISBN: 9791169212175