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

io.joynr.messaging.service.MigrationService Maven / Gradle / Ivy

Go to download

Contains RESTful service interfaces for lifecycle management, status monitoring and migration of bounce proxies

There is a newer version: 1.15.9
Show newest version
/*
 * #%L
 * joynr::java::messaging::bounceproxy-controller-service
 * %%
 * Copyright (C) 2011 - 2017 BMW Car IT GmbH
 * %%
 * 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%
 */
package io.joynr.messaging.service;

/**
 * Interface for migration service implementation.
 * 
 * @author christina.strobel
 * 
 */
public interface MigrationService {

    /**
     * Triggers the migration of a whole cluster of bounce proxy instances to
     * another cluster. The migration itself, which is probably a long running
     * task, has to be executed in its own thread. For each channel a new
     * decision is taken to which bounce proxy instance it will be migrated.
     * 
     * @param clusterId the identifier of the cluster to migrate
     */
    void startClusterMigration(String clusterId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy