All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alicloud.openservices.tablestore.timeline.TimelineCallback Maven / Gradle / Ivy

Go to download

Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 5.17.6
Show newest version
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