
com.alicloud.openservices.tablestore.timeline.TimelineCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tablestore Show documentation
Show all versions of tablestore Show documentation
Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有
(C)阿里云计算有限公司 http://www.aliyun.com
package com.alicloud.openservices.tablestore.timeline;
import com.alicloud.openservices.tablestore.timeline.model.TimelineEntry;
import com.alicloud.openservices.tablestore.timeline.model.TimelineIdentifier;
import com.alicloud.openservices.tablestore.timeline.model.TimelineMessage;
public interface TimelineCallback {
/**
* Function to invoke when succeed.
* @param identifier The identifier of timeline.
* @param message The message which is updated or stored asynchronously.
* @param timelineEntry The timeline entry.
*/
void onCompleted(final TimelineIdentifier identifier, final TimelineMessage message, final TimelineEntry timelineEntry);
/**
* Function to invoke when failed.
* @param identifier The identifier of timeline.
* @param message The message which is updated or stored asynchronously.
* @param ex The exception when failed.
*/
void onFailed(final TimelineIdentifier identifier, final TimelineMessage message, final Exception ex);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy