SkillConversationIdFactory 클래스

public class SkillConversationIdFactory
extends SkillConversationIdFactoryBase

메모리 {@link Map{TKey,TValue}}을(를) 사용하여 ConversationReference 인스턴스를 저장하고 검색하는 SkillConversationIdFactory.

생성자 요약

생성자 Description
SkillConversationIdFactory(Storage storage)

기술ConversationIdFactory의 인스턴스를 만듭니다.

메서드 요약

한정자 및 형식 메서드 및 설명
java.util.concurrent.CompletableFuture<java.lang.String> createSkillConversationId(SkillConversationIdFactoryOptions options)

기술 대화의 대화 ID를 만듭니다.

java.util.concurrent.CompletableFuture<java.lang.Void> deleteConversationReference(String skillConversationId)

ConversationReference 삭제합니다.

java.util.concurrent.CompletableFuture<SkillConversationReference> getSkillConversationReference(String skillConversationId)

기술ConversationID에 SkillConversationIdFactory#createSkillConversationId 사용하여 만든 SkillConversationReference 가져옵니다.

다음에서 상속된 메서드 SkillConversationIdFactoryBase

다음에서 상속된 메서드 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

생성자 세부 정보

SkillConversationIdFactory

public SkillConversationIdFactory(Storage storage)

SkillConversationIdFactory의 인스턴스를 만듭니다.

매개 변수:

storage - 팩터리의 스토리지 인스턴스입니다.

메서드 세부 정보

createSkillConversationId

public CompletableFuture createSkillConversationId(SkillConversationIdFactoryOptions options)

기술 대화의 대화 ID를 만듭니다.

재정의:

SkillConversationIdFactory.createSkillConversationId(SkillConversationIdFactoryOptions options)

매개 변수:

options - 대화 ID를 만들기 위한 매개 변수가 포함된 SkillConversationIdFactoryOptions 인스턴스입니다.

반환:

기술과 통신하는 데 사용되는 고유한 대화 ID입니다.
     It should be possible to use the returned String on a request URL and
     it should not contain special characters.

deleteConversationReference

public CompletableFuture deleteConversationReference(String skillConversationId)

ConversationReference 삭제합니다.

재정의:

SkillConversationIdFactory.deleteConversationReference(String skillConversationId)

매개 변수:

skillConversationId - {@link CreateSkillConversationId(SkillConversationIdFactoryOptions,System#getT reading()#getCancellationToken())}를 사용하여 만든 기술 conversationId입니다.

반환:

비동기 작업을 나타내는 CompletableFuture.

getSkillConversationReference

public CompletableFuture getSkillConversationReference(String skillConversationId)

skillConversationId에 SkillConversationIdFactory#createSkillConversationId 사용하여 만든 SkillConversationReference 가져옵니다.

재정의:

SkillConversationIdFactory.getSkillConversationReference(String skillConversationId)

매개 변수:

skillConversationId - SkillConversationIdFactory#createSkillConversationId사용하여 만든 skill conversationId입니다.

반환:

skillConversationId에 대한 호출자의 ConversationReference. 찾을 수 없는 경우 null입니다.

적용 대상