Open Kilda Java Documentation
SynchronizeCacheAction.java
Go to the documentation of this file.
1
/* Copyright 2018 Telstra Open Source
2
*
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
package
org.openkilda.messaging.command.flow;
17
21
public
enum
SynchronizeCacheAction
{
22
// Synchronize / refresh cache : compare the data in cache and DB, propagate updates only for the difference.
23
SYNCHRONIZE_CACHE
,
24
25
// Purge cache : re-read data from DB and forcibly propagate updates for all records.
26
INVALIDATE_CACHE
,
27
28
NONE
29
}
org.openkilda.messaging.command.flow.SynchronizeCacheAction.SYNCHRONIZE_CACHE
SYNCHRONIZE_CACHE
Definition:
SynchronizeCacheAction.java:23
org.openkilda.messaging.command.flow.SynchronizeCacheAction.INVALIDATE_CACHE
INVALIDATE_CACHE
Definition:
SynchronizeCacheAction.java:26
org.openkilda.messaging.command.flow.SynchronizeCacheAction
Definition:
SynchronizeCacheAction.java:21
open-kilda-develop
services
src
messaging
src
main
java
org
openkilda
messaging
command
flow
SynchronizeCacheAction.java
Generated by
1.8.14