public class PollingCoherencyPolicy extends Object implements CoherencyPolicy
Indicates that proxy objects in remote stores should poll the master object for updates every time the specified coherency
interval expires. This policy optimizes network traffic. Note that SOSS transparently provides remote polling based on
this policy. If remote reads experience delays or access failures, SOSS marks the local proxy as stale, and local reads
may return stale data (and optionally throw an exception) until the WAN access issue is resolved.
Bi-directional replication is not required when using the PollingCoherencyPolicy
Constructor and Description |
---|
PollingCoherencyPolicy()
Creates a polling coherency policy with the default polling interval.
|
PollingCoherencyPolicy(TimeSpan pollingInterval)
Creates a polling coherency policy.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
getPollingInterval()
Gets the polling interval for this coherency policy.
|
public PollingCoherencyPolicy(TimeSpan pollingInterval)
pollingInterval
- polling intervalpublic PollingCoherencyPolicy()
public TimeSpan getPollingInterval()
Copyright (C) 2007-2014 ScaleOut Software, Inc.