public final class TypedProperties extends Object
Constructor and Description |
---|
TypedProperties() |
TypedProperties(TypedProperties other) |
public TypedProperties()
public TypedProperties(TypedProperties other)
public int getMemoryOffset()
public boolean hasInternalProperties()
public void putBooleanProperty(SimpleString key, boolean value)
public void putByteProperty(SimpleString key, byte value)
public void putBytesProperty(SimpleString key, byte[] value)
public void putShortProperty(SimpleString key, short value)
public void putIntProperty(SimpleString key, int value)
public void putLongProperty(SimpleString key, long value)
public void putFloatProperty(SimpleString key, float value)
public void putDoubleProperty(SimpleString key, double value)
public void putSimpleStringProperty(SimpleString key, SimpleString value)
public void putNullValue(SimpleString key)
public void putCharProperty(SimpleString key, char value)
public void putTypedProperties(TypedProperties otherProps)
public Object getProperty(SimpleString key)
public Boolean getBooleanProperty(SimpleString key) throws HornetQPropertyConversionException
public Byte getByteProperty(SimpleString key) throws HornetQPropertyConversionException
public Character getCharProperty(SimpleString key) throws HornetQPropertyConversionException
public byte[] getBytesProperty(SimpleString key) throws HornetQPropertyConversionException
public Double getDoubleProperty(SimpleString key) throws HornetQPropertyConversionException
public Integer getIntProperty(SimpleString key) throws HornetQPropertyConversionException
public Long getLongProperty(SimpleString key) throws HornetQPropertyConversionException
public Short getShortProperty(SimpleString key) throws HornetQPropertyConversionException
public Float getFloatProperty(SimpleString key) throws HornetQPropertyConversionException
public SimpleString getSimpleStringProperty(SimpleString key) throws HornetQPropertyConversionException
public Object removeProperty(SimpleString key)
public boolean containsProperty(SimpleString key)
public Set<SimpleString> getPropertyNames()
public void decode(HornetQBuffer buffer)
public void encode(HornetQBuffer buffer)
public int getEncodeSize()
public void clear()
public static void setObjectProperty(SimpleString key, Object value, TypedProperties properties)
MapMessage#setObjectProperty(String, Object)
key
- value
- properties
- Copyright © 2018 JBoss by Red Hat. All rights reserved.