MemoryTranscriptStore Class
- java.
lang. Object - com.
microsoft. bot. builder. MemoryTranscriptStore
- com.
Implements
public class MemoryTranscriptStore
implements TranscriptStore
The memory transcript store stores transcripts in volatile memory in a Dictionary.
Because this uses an unbounded volatile dictionary this should only be used for unit tests or non-production environments.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MemoryTranscriptStore() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.concurrent.CompletableFuture<java.lang.Void> |
deleteTranscript(String channelId, String conversationId)
Deletes conversation data from the store. |
|
java.util.concurrent.CompletableFuture<Paged |
getTranscriptActivities(String channelId, String conversationId, String continuationToken, OffsetDateTime startDate)
Gets from the store activities that match a set of criteria. |
|
java.util.concurrent.CompletableFuture<Paged |
listTranscripts(String channelId, String continuationToken)
Gets the conversations on a channel from the store. |
| final java.util.concurrent.CompletableFuture<java.lang.Void> |
logActivity(Activity activity)
Logs an activity to the transcript. |
Methods inherited from java.lang.Object
Constructor Details
MemoryTranscriptStore
public MemoryTranscriptStore()
Method Details
deleteTranscript
public CompletableFuture
Deletes conversation data from the store.
Parameters:
Returns:
getTranscriptActivities
public CompletableFuture
Gets from the store activities that match a set of criteria.
Parameters:
Returns:
listTranscripts
public CompletableFuture
Gets the conversations on a channel from the store.
Parameters:
Returns:
logActivity
public final CompletableFuture
Logs an activity to the transcript.
Parameters:
Returns: