Back to project page tape.
The source code is released under:
Apache License
If you think the Android project tape listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// Copyright 2012 Square, Inc. package com.squareup.tape; //from w w w .ja va 2 s . com import java.io.Serializable; /** * An idempotent task that can be enqueued, persisted (using serialization), * and executed at a later time. * * @param <T> The type of callback. */ public interface Task<T> extends Serializable { /** * Executes this task. The members of this task instance have been injected * prior to calling this method. * * @param callback to report result to */ void execute(T callback); }