com.lonepulse.zombielink.proxy.Invocation Maven / Gradle / Ivy
package com.lonepulse.zombielink.proxy;
/*
* #%L
* ZombieLink
* %%
* Copyright (C) 2013 Lonepulse
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
/**
* This contract specifies the services offered on a generic command which allows deferred invocations
* to be carried out for the purposes of parallel processing, prioritized queuing, cached reuse, etc.
*
* This contract may be extended to support additional responsibilities such as invalidation.
*
* @version 1.1.0
*
* @since 1.3.0
*
* @author Lahiru Sahan Jayasinghe
*/
interface Invocation {
/**
* Initiates the command and attempts to complete the duties defined in its implementation.
*
* @return the result of the invocation as defined by the implementation
*
* @since 1.3.0
*/
Object invoke();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy