private abstract static class ServiceDiscoveryManager.CacheTask extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected ServiceDiscoveryManager.ProxyReg |
reg |
protected long |
thisTaskSeqN |
Modifier | Constructor and Description |
---|---|
protected |
CacheTask(ServiceDiscoveryManager.ProxyReg reg,
long seqN) |
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOn(ServiceDiscoveryManager.CacheTask task) |
ServiceDiscoveryManager.ProxyReg |
getProxyReg()
Returns the ProxyReg associated with this task (if any).
|
long |
getSeqN()
Returns the unique sequence number of this task.
|
abstract boolean |
hasDeps() |
boolean |
isFromProxy(ServiceDiscoveryManager.ProxyReg reg) |
protected final ServiceDiscoveryManager.ProxyReg reg
protected volatile long thisTaskSeqN
protected CacheTask(ServiceDiscoveryManager.ProxyReg reg, long seqN)
public boolean isFromProxy(ServiceDiscoveryManager.ProxyReg reg)
public ServiceDiscoveryManager.ProxyReg getProxyReg()
public long getSeqN()
public abstract boolean hasDeps()
public boolean dependsOn(ServiceDiscoveryManager.CacheTask task)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.