public class ReplicationQueueFileBased.ReplicationProcessor
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
ReplicaState |
replicaState |
long |
updateTimestamp |
Modifier and Type | Method and Description |
---|---|
RequestConsumerReference |
getReplicaRequestConsumerReference() |
ReplicaState |
getReplicaState() |
int |
getRetryCount() |
boolean |
isSuspended() |
void |
run() |
void |
setReplicaState(ReplicaState replicaState) |
void |
setReplicaStateAndSuspended(ReplicaState replicaState,
boolean isSuspended) |
void |
setRetryCount(int retryCount) |
void |
setSuspended(boolean isSuspended) |
public volatile long updateTimestamp
public ReplicaState replicaState
public RequestConsumerReference getReplicaRequestConsumerReference()
public void setSuspended(boolean isSuspended)
public boolean isSuspended()
public void setReplicaState(ReplicaState replicaState)
public ReplicaState getReplicaState()
public void setReplicaStateAndSuspended(ReplicaState replicaState, boolean isSuspended)
public void run()
run
in interface java.lang.Runnable
public void setRetryCount(int retryCount)
public int getRetryCount()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.