Package org.projectnessie.versioned.gc
Class IdentifyUnreferencedAssets.CategorizedAssetKey
- java.lang.Object
-
- org.projectnessie.versioned.gc.IdentifyUnreferencedAssets.CategorizedAssetKey
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- IdentifyUnreferencedAssets<T,R extends AssetKey>
public static final class IdentifyUnreferencedAssets.CategorizedAssetKey extends Object implements Serializable
Pair of referenced state of an asset key and its byte[] representation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CategorizedAssetKey()CategorizedAssetKey(boolean referenced, com.google.protobuf.ByteString data, com.google.protobuf.ByteString uniqueKey, long timestamp)Construct asset key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getData()longgetTimestamp()byte[]getUniqueKey()booleanisReferenced()voidsetData(byte[] data)voidsetReferenced(boolean referenced)voidsetTimestamp(long timestamp)voidsetUniqueKey(byte[] uniqueKey)
-
-
-
Method Detail
-
setReferenced
public void setReferenced(boolean referenced)
-
setData
public void setData(byte[] data)
-
isReferenced
public boolean isReferenced()
-
getData
public byte[] getData()
-
getUniqueKey
public byte[] getUniqueKey()
-
setUniqueKey
public void setUniqueKey(byte[] uniqueKey)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
-