Package com.linkedin.venice.meta
Interface AbstractStore.StoreVersionSupplier
-
- Enclosing class:
- AbstractStore
protected static interface AbstractStore.StoreVersionSupplier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Version>
getForRead()
This function will return a list of Versions, which are read-only, and any modification against them will throwUnsupportedOperationException
.java.util.List<StoreVersion>
getForUpdate()
This function will return a reference to the internal versions structure, and any change applying to the returned object will be reflected in the referencedStore
.
-
-
-
Method Detail
-
getForUpdate
java.util.List<StoreVersion> getForUpdate()
This function will return a reference to the internal versions structure, and any change applying to the returned object will be reflected in the referencedStore
.- Returns:
-
getForRead
java.util.List<Version> getForRead()
This function will return a list of Versions, which are read-only, and any modification against them will throwUnsupportedOperationException
.- Returns:
-
-