Class CommandDeleteChannelPermittedTerm
java.lang.Object
com.netflix.hystrix.HystrixCommand<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>
com.github.twitch4j.graphql.command.BaseCommand<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>
com.github.twitch4j.graphql.command.CommandDeleteChannelPermittedTerm
- All Implemented Interfaces:
com.netflix.hystrix.HystrixExecutable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>,com.netflix.hystrix.HystrixInvokable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>,com.netflix.hystrix.HystrixInvokableInfo<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>,com.netflix.hystrix.HystrixObservable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>
public class CommandDeleteChannelPermittedTerm
extends BaseCommand<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.netflix.hystrix.HystrixCommand
com.netflix.hystrix.HystrixCommand.Setter -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.netflix.hystrix.HystrixCircuitBreakerprotected static ConcurrentHashMap<com.netflix.hystrix.HystrixCommandKey, Boolean> protected final com.netflix.hystrix.HystrixCommandGroupKeyprotected final com.netflix.hystrix.HystrixCommandKeyprotected longprotected AtomicReference<com.netflix.hystrix.AbstractCommand.CommandState> protected final com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategyprotected final com.netflix.hystrix.HystrixRequestLogprotected rx.functions.Action0protected final com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifierprotected final com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHookprotected com.netflix.hystrix.ExecutionResultprotected com.netflix.hystrix.ExecutionResultprotected final com.netflix.hystrix.AbstractCommand.TryableSemaphoreprotected static final ConcurrentHashMap<String, com.netflix.hystrix.AbstractCommand.TryableSemaphore> protected final com.netflix.hystrix.AbstractCommand.TryableSemaphoreprotected static final ConcurrentHashMap<String, com.netflix.hystrix.AbstractCommand.TryableSemaphore> protected final AtomicReference<com.netflix.hystrix.AbstractCommand.TimedOutStatus> protected booleanprotected final com.netflix.hystrix.HystrixCommandMetricsprotected final com.netflix.hystrix.HystrixCommandPropertiesprotected final com.netflix.hystrix.HystrixRequestCacheprotected final com.netflix.hystrix.HystrixThreadPoolprotected final com.netflix.hystrix.HystrixThreadPoolKeyprotected AtomicReference<com.netflix.hystrix.AbstractCommand.ThreadState> protected final AtomicReference<Reference<com.netflix.hystrix.util.HystrixTimer.TimerListener>> Fields inherited from class com.github.twitch4j.graphql.command.BaseCommand
apolloClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowabledecomposeException(Exception arg0) protected Stringcom.netflix.hystrix.HystrixCommandGroupKeycom.netflix.hystrix.HystrixCommandKeylongcom.netflix.hystrix.ExecutionResult.EventCountsprotected ExceptionList<com.netflix.hystrix.HystrixEventType> protected com.netflix.hystrix.AbstractCommand.TryableSemaphoreintprotected com.netflix.hystrix.AbstractCommand.TryableSemaphoreprotected com.apollographql.apollo.ApolloCall<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> Abstract GraphQL Callprotected Stringcom.netflix.hystrix.HystrixCommandMetricsintintintcom.netflix.hystrix.HystrixCollapserKeycom.netflix.hystrix.HystrixCommandPropertiescom.netflix.hystrix.HystrixThreadPoolKeyprotected voidhandleThreadEnd(com.netflix.hystrix.AbstractCommand<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> arg0) booleanbooleanbooleanbooleanprotected booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanrx.Observable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> observe()protected booleanshouldNotBeWrapped(Throwable arg0) protected booleanrx.Observable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> Methods inherited from class com.github.twitch4j.graphql.command.BaseCommand
runMethods inherited from class com.netflix.hystrix.HystrixCommand
commandIsScalar, execute, getExecutionObservable, getFallback, getFallbackMethodName, getFallbackObservable, isFallbackUserDefined, queueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netflix.hystrix.HystrixExecutable
observeMethods inherited from interface com.netflix.hystrix.HystrixInvokableInfo
getCommandGroup, getCommandKey, getCommandRunStartTimeInNanos, getEventCounts, getExecutionEvents, getExecutionTimeInMilliseconds, getFailedExecutionException, getMetrics, getNumberCollapsed, getNumberEmissions, getNumberFallbackEmissions, getOriginatingCollapserKey, getProperties, getPublicCacheKey, getThreadPoolKey, isCircuitBreakerOpen, isExecutedInThread, isExecutionComplete, isFailedExecution, isResponseFromCache, isResponseFromFallback, isResponseRejected, isResponseSemaphoreRejected, isResponseShortCircuited, isResponseThreadPoolRejected, isResponseTimedOut, isSuccessfulExecutionMethods inherited from interface com.netflix.hystrix.HystrixObservable
observe, toObservable
-
Field Details
-
circuitBreaker
protected final com.netflix.hystrix.HystrixCircuitBreaker circuitBreaker -
threadPool
protected final com.netflix.hystrix.HystrixThreadPool threadPool -
threadPoolKey
protected final com.netflix.hystrix.HystrixThreadPoolKey threadPoolKey -
properties
protected final com.netflix.hystrix.HystrixCommandProperties properties -
metrics
protected final com.netflix.hystrix.HystrixCommandMetrics metrics -
commandKey
protected final com.netflix.hystrix.HystrixCommandKey commandKey -
commandGroup
protected final com.netflix.hystrix.HystrixCommandGroupKey commandGroup -
eventNotifier
protected final com.netflix.hystrix.strategy.eventnotifier.HystrixEventNotifier eventNotifier -
concurrencyStrategy
protected final com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy concurrencyStrategy -
executionHook
protected final com.netflix.hystrix.strategy.executionhook.HystrixCommandExecutionHook executionHook -
fallbackSemaphoreOverride
protected final com.netflix.hystrix.AbstractCommand.TryableSemaphore fallbackSemaphoreOverride -
fallbackSemaphorePerCircuit
protected static final ConcurrentHashMap<String,com.netflix.hystrix.AbstractCommand.TryableSemaphore> fallbackSemaphorePerCircuit -
executionSemaphoreOverride
protected final com.netflix.hystrix.AbstractCommand.TryableSemaphore executionSemaphoreOverride -
executionSemaphorePerCircuit
protected static final ConcurrentHashMap<String,com.netflix.hystrix.AbstractCommand.TryableSemaphore> executionSemaphorePerCircuit -
timeoutTimer
protected final AtomicReference<Reference<com.netflix.hystrix.util.HystrixTimer.TimerListener>> timeoutTimer -
commandState
-
threadState
-
executionResult
protected volatile com.netflix.hystrix.ExecutionResult executionResult -
isResponseFromCache
protected volatile boolean isResponseFromCache -
executionResultAtTimeOfCancellation
protected volatile com.netflix.hystrix.ExecutionResult executionResultAtTimeOfCancellation -
commandStartTimestamp
protected volatile long commandStartTimestamp -
isCommandTimedOut
protected final AtomicReference<com.netflix.hystrix.AbstractCommand.TimedOutStatus> isCommandTimedOut -
endCurrentThreadExecutingCommand
protected volatile rx.functions.Action0 endCurrentThreadExecutingCommand -
requestCache
protected final com.netflix.hystrix.HystrixRequestCache requestCache -
currentRequestLog
protected final com.netflix.hystrix.HystrixRequestLog currentRequestLog -
commandContainsFallback
protected static ConcurrentHashMap<com.netflix.hystrix.HystrixCommandKey,Boolean> commandContainsFallback
-
-
Constructor Details
-
CommandDeleteChannelPermittedTerm
public CommandDeleteChannelPermittedTerm(@NonNull @NonNull com.apollographql.apollo.ApolloClient apolloClient, @NonNull @NonNull String channelId, @NonNull @NonNull List<String> phrases) Constructor- Parameters:
apolloClient- Apollo ClientchannelId- the ID of the owner of the permitted term being deletedphrases- the string representation of the term being deleted
-
-
Method Details
-
getGraphQLCall
protected com.apollographql.apollo.ApolloCall<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> getGraphQLCall()Description copied from class:BaseCommandAbstract GraphQL Call- Specified by:
getGraphQLCallin classBaseCommand<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data>- Returns:
- ApolloCall
-
observe
public rx.Observable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> observe()- Specified by:
observein interfacecom.netflix.hystrix.HystrixObservable<R>
-
toObservable
public rx.Observable<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> toObservable()- Specified by:
toObservablein interfacecom.netflix.hystrix.HystrixObservable<R>
-
shouldNotBeWrapped
-
handleThreadEnd
protected void handleThreadEnd(com.netflix.hystrix.AbstractCommand<com.github.twitch4j.graphql.internal.DeleteChannelPermittedTermMutation.Data> arg0) -
shouldOutputOnNextEvents
protected boolean shouldOutputOnNextEvents() -
getFallbackSemaphore
protected com.netflix.hystrix.AbstractCommand.TryableSemaphore getFallbackSemaphore() -
getExecutionSemaphore
protected com.netflix.hystrix.AbstractCommand.TryableSemaphore getExecutionSemaphore() -
getCommandGroup
public com.netflix.hystrix.HystrixCommandGroupKey getCommandGroup()- Specified by:
getCommandGroupin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getCommandKey
public com.netflix.hystrix.HystrixCommandKey getCommandKey()- Specified by:
getCommandKeyin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getThreadPoolKey
public com.netflix.hystrix.HystrixThreadPoolKey getThreadPoolKey()- Specified by:
getThreadPoolKeyin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getMetrics
public com.netflix.hystrix.HystrixCommandMetrics getMetrics()- Specified by:
getMetricsin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getProperties
public com.netflix.hystrix.HystrixCommandProperties getProperties()- Specified by:
getPropertiesin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
decomposeException
-
getCacheKey
-
getPublicCacheKey
- Specified by:
getPublicCacheKeyin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isRequestCachingEnabled
protected boolean isRequestCachingEnabled() -
getLogMessagePrefix
-
isCircuitBreakerOpen
public boolean isCircuitBreakerOpen()- Specified by:
isCircuitBreakerOpenin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isExecutionComplete
public boolean isExecutionComplete()- Specified by:
isExecutionCompletein interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isExecutedInThread
public boolean isExecutedInThread()- Specified by:
isExecutedInThreadin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isSuccessfulExecution
public boolean isSuccessfulExecution()- Specified by:
isSuccessfulExecutionin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isFailedExecution
public boolean isFailedExecution()- Specified by:
isFailedExecutionin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getFailedExecutionException
- Specified by:
getFailedExecutionExceptionin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getExecutionException
-
isResponseFromFallback
public boolean isResponseFromFallback()- Specified by:
isResponseFromFallbackin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isResponseTimedOut
public boolean isResponseTimedOut()- Specified by:
isResponseTimedOutin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isResponseShortCircuited
public boolean isResponseShortCircuited()- Specified by:
isResponseShortCircuitedin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isResponseFromCache
public boolean isResponseFromCache()- Specified by:
isResponseFromCachein interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isResponseSemaphoreRejected
public boolean isResponseSemaphoreRejected()- Specified by:
isResponseSemaphoreRejectedin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isResponseThreadPoolRejected
public boolean isResponseThreadPoolRejected()- Specified by:
isResponseThreadPoolRejectedin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
isResponseRejected
public boolean isResponseRejected()- Specified by:
isResponseRejectedin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getExecutionEvents
- Specified by:
getExecutionEventsin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getNumberEmissions
public int getNumberEmissions()- Specified by:
getNumberEmissionsin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getNumberFallbackEmissions
public int getNumberFallbackEmissions()- Specified by:
getNumberFallbackEmissionsin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getNumberCollapsed
public int getNumberCollapsed()- Specified by:
getNumberCollapsedin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getOriginatingCollapserKey
public com.netflix.hystrix.HystrixCollapserKey getOriginatingCollapserKey()- Specified by:
getOriginatingCollapserKeyin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getExecutionTimeInMilliseconds
public int getExecutionTimeInMilliseconds()- Specified by:
getExecutionTimeInMillisecondsin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getCommandRunStartTimeInNanos
public long getCommandRunStartTimeInNanos()- Specified by:
getCommandRunStartTimeInNanosin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getEventCounts
public com.netflix.hystrix.ExecutionResult.EventCounts getEventCounts()- Specified by:
getEventCountsin interfacecom.netflix.hystrix.HystrixInvokableInfo<R>
-
getExceptionFromThrowable
-