SyncPolicy Class |
Namespace: Oracle.Cloud.Mobile.Synchronization
The SyncPolicy type exposes the following members.
Name | Description | |
---|---|---|
![]() | SyncPolicy |
Initializes a new SyncPolicy object whose values are the same as SyncPolicy.Default.
|
Name | Description | |
---|---|---|
![]() | ConflictResolutionPolicy |
Sepcifies how conflicts should be resolved.
|
![]() ![]() | Default |
Returns a SyncPolicy object with default values of FetchPolicy.FetchFromService, ExpirationPolicy.NeverExpire,
EvictionPolicy.ManualEviction and UpdatePolicy.UpdateIfOnline. The returned object should not be modified by callers.
|
![]() | EvictionPolicy |
Specifies when an expired resource is evicted from the cache.
|
![]() | ExpirationPolicy |
Specifies when a cached resource expires.
|
![]() | ExpireAfter |
The duration after which a cached resource expires, only valid if ExpirationPolicy is set to ExpireAfter.
|
![]() | FetchPolicy |
Specifies whether a GET returns data from the cache or the service.
|
![]() | NoCache |
The resource is not cached on the device. This is useful for sensitive or large data.
|
![]() | RefreshPolicy |
Specifies how a cached resource is refreshed.
|
![]() | UpdatePolicy |
Specifies how updates (PUT/POST/DELETE/PATCH) operations behave.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |