Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License"). You may not
   * use this file except in compliance with the License. A copy of the License is
   * located at
   * 
   * http://aws.amazon.com/apache2.0
   * 
  * or in the "license" file accompanying this file. This file 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.
  */
 package com.amazonaws.services.simpleworkflow.flow;
 
 import java.util.List;
 
 
 public class ActivityWorker implements WorkerBase {
 
     private final GenericActivityWorker genericWorker;
 
 
     public ActivityWorker(AmazonSimpleWorkflow serviceString domainString taskListToPoll) {
          = new GenericActivityWorker(servicedomaintaskListToPoll);
     }
 
     public void setActivitiesImplementations(Iterable<ObjectactivitiesImplementations)
         .setActivitiesImplementations(activitiesImplementations);
     }
 
         return .getActivitiesImplementations();
     }
 
     public List<ActivityTypeaddActivitiesImplementations(Iterable<ObjectactivitiesImplementations)
         return .addActivitiesImplementations(activitiesImplementations);
     }
 
     public List<ActivityTypeaddActivitiesImplementations(Iterable<ObjectactivitiesImplementationsDataConverter dataConverter)
         return .addActivitiesImplementations(activitiesImplementationsdataConverter);
     }
 
     public List<ActivityTypeaddActivitiesImplementation(Object activitiesImplementation)
         return .addActivitiesImplementation(activitiesImplementation);
     }
 
     public List<ActivityTypeaddActivitiesImplementation(Object activitiesImplementationDataConverter converter)
         return .addActivitiesImplementation(activitiesImplementationconverter);
     }
 
         return .getActivityTypesToRegister();
     }
 
         return .getActivityImplementation(activityType);
     }
 
     public DataConverter getDataConverter() {
         return .getDataConverter();
     }
 
     public void setDataConverter(DataConverter dataConverter) {
         .setDataConverter(dataConverter);
     }
 
     public int getTaskExecutorThreadPoolSize() {
         return .getTaskExecutorThreadPoolSize();
     }
 
     public void setTaskExecutorThreadPoolSize(int taskExecutorThreadPoolSize) {
         .setTaskExecutorThreadPoolSize(taskExecutorThreadPoolSize);
     }
 
     @Override
     public boolean shutdownAndAwaitTermination(long timeoutTimeUnit unitthrows InterruptedException {
         return .shutdownAndAwaitTermination(timeoutunit);
     }
 
     @Override
     public void shutdownNow() {
         .shutdownNow();
     }
    @Override
    public AmazonSimpleWorkflow getService() {
        return .getService();
    }
    @Override
    public String getDomain() {
        return .getDomain();
    }
    @Override
    public boolean isRegisterDomain() {
        return .isRegisterDomain();
    }
    @Override
    public boolean awaitTermination(long timeoutTimeUnit unitthrows InterruptedException {
        return .awaitTermination(timeoutunit);
    }
    @Override
    public void setRegisterDomain(boolean registerDomain) {
        .setRegisterDomain(registerDomain);
    }
    @Override
    public long getDomainRetentionPeriodInDays() {
    }
    @Override
    public void setDomainRetentionPeriodInDays(long days) {
    }
    @Override
    public String getTaskListToPoll() {
        return .getTaskListToPoll();
    }
    @Override
    public double getMaximumPollRatePerSecond() {
    }
    @Override
    public void setMaximumPollRatePerSecond(double maximumPollRatePerSecond) {
        .setMaximumPollRatePerSecond(maximumPollRatePerSecond);
    }
    @Override
    }
    @Override
    public void setMaximumPollRateIntervalMilliseconds(int maximumPollRateIntervalMilliseconds) {
        .setMaximumPollRateIntervalMilliseconds(maximumPollRateIntervalMilliseconds);
    }
    @Override
    }
    @Override
    public void setUncaughtExceptionHandler(UncaughtExceptionHandler uncaughtExceptionHandler) {
        .setUncaughtExceptionHandler(uncaughtExceptionHandler);
    }
    @Override
    public String getIdentity() {
        return .getIdentity();
    }
    @Override
    public void setIdentity(String identity) {
        .setIdentity(identity);
    }
    @Override
    public long getPollBackoffInitialInterval() {
    }
    @Override
    public void setPollBackoffInitialInterval(long backoffInitialInterval) {
        .setPollBackoffInitialInterval(backoffInitialInterval);
    }
    @Override
    public long getPollBackoffMaximumInterval() {
    }
    @Override
    public void setPollBackoffMaximumInterval(long backoffMaximumInterval) {
        .setPollBackoffMaximumInterval(backoffMaximumInterval);
    }
    @Override
    public boolean isDisableServiceShutdownOnStop() {
    }
    @Override
    public void setDisableServiceShutdownOnStop(boolean disableServiceShutdownOnStop) {
        .setDisableServiceShutdownOnStop(disableServiceShutdownOnStop);
    }
    @Override
    public double getPollBackoffCoefficient() {
        return .getPollBackoffCoefficient();
    }
    @Override
    public void setPollBackoffCoefficient(double backoffCoefficient) {
        .setPollBackoffCoefficient(backoffCoefficient);
    }
    @Override
    public int getPollThreadCount() {
        return .getPollThreadCount();
    }
    @Override
    public void setPollThreadCount(int threadCount) {
        .setPollThreadCount(threadCount);
    }
    @Override
    public void setDisableTypeRegistrationOnStart(boolean disableTypeRegistrationOnStart) {
        .setDisableTypeRegistrationOnStart(disableTypeRegistrationOnStart);
    }
    @Override
    public boolean isDisableTypeRegistrationOnStart() {
    }
    
    @Override
    public void registerTypesToPoll() {
    }
    @Override
    public void start() {
        .start();
    }
    @Override
    public void shutdown() {
        .shutdown();
    }
    @Override
    public boolean isRunning() {
        return .isRunning();
    }
    @Override
    public void suspendPolling() {
        .suspendPolling();
    }
    @Override
    public void resumePolling() {
        .resumePolling();
    }
    @Override
    public String toString() {
        return this.getClass().getSimpleName() + "[genericWorker=" +  + ", factory=" +  + "]";
    }
New to GrepCode? Check out our FAQ X