| Modifier and Type | Interface and Description |
|---|---|
interface |
CrudStore<T extends Flag>
Interface for a basic store to support persistence for Flags
Created by Pavlo Maksymchuk.
|
class |
InMemoryStore<T extends Flag>
An implementation of inmemory store for caching feature flags states in memory.
|
| Modifier and Type | Method and Description |
|---|---|
Flag |
CrudStore.read(String id) |
Flag |
InMemoryStore.read(String id) |
Flag |
CrudStore.update(Flag flag) |
Flag |
InMemoryStore.update(Flag flag) |
| Modifier and Type | Method and Description |
|---|---|
List<Flag> |
FlagsmithClient.getFeatureFlags()
Get a list of existing Features for the given environment
|
List<Flag> |
FlagsmithClient.getFeatureFlags(FeatureUser user)
Get a list of existing Features for the given environment and user
|
| Modifier and Type | Method and Description |
|---|---|
T |
CrudStore.create(Flag flag) |
T |
InMemoryStore.create(Flag flag) |
Flag |
CrudStore.update(Flag flag) |
Flag |
InMemoryStore.update(Flag flag) |
Copyright © 2021. All rights reserved.