Class PersistedKeyValuePair
- java.lang.Object
-
- org.apache.activemq.artemis.core.persistence.config.PersistedKeyValuePair
-
- All Implemented Interfaces:
EncodingSupport
public class PersistedKeyValuePair extends Object implements EncodingSupport
-
-
Constructor Summary
Constructors Constructor Description PersistedKeyValuePair()PersistedKeyValuePair(String mapId, String key, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(ActiveMQBuffer buffer)voidencode(ActiveMQBuffer buffer)intgetEncodeSize()StringgetKey()StringgetMapId()longgetStoreId()StringgetValue()voidsetStoreId(long id)StringtoString()
-
-
-
Method Detail
-
setStoreId
public void setStoreId(long id)
-
getStoreId
public long getStoreId()
-
getMapId
public String getMapId()
-
getKey
public String getKey()
-
getValue
public String getValue()
-
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSizein interfaceEncodingSupport
-
encode
public void encode(ActiveMQBuffer buffer)
- Specified by:
encodein interfaceEncodingSupport
-
decode
public void decode(ActiveMQBuffer buffer)
- Specified by:
decodein interfaceEncodingSupport
-
-