Uses of Class
org.apache.activemq.artemis.api.core.SimpleString
-
Uses of SimpleString in org.apache.activemq.artemis.api.core
Subclasses with type arguments of type SimpleString in org.apache.activemq.artemis.api.coreModifier and TypeClassDescriptionstatic final classstatic final classClasses in org.apache.activemq.artemis.api.core that implement interfaces with type arguments of type SimpleStringModifier and TypeClassDescriptionfinal classA simple String class that can store all characters, and stores as simplebyte[], this minimises expensive copying between String objects.Methods in org.apache.activemq.artemis.api.core that return SimpleStringModifier and TypeMethodDescriptionSimpleString.concat(char c) Concatenates a SimpleString and a charConcatenates a SimpleString and a StringSimpleString.concat(SimpleString toAdd) Concatenates 2 SimpleString'sprotected SimpleStringSimpleString.ByteBufSimpleStringPool.create(io.netty.buffer.ByteBuf byteBuf, int length) protected SimpleStringstatic SimpleStringParameterisedAddress.extractAddress(SimpleString address) ParameterisedAddress.getAddress()QueueConfiguration.getAddress()Returns the name of the address; if the address isnullthen return the value ofQueueConfiguration.getName().QueueAttributes.getFilterString()Deprecated.QueueConfiguration.getFilterString()QueueAttributes.getGroupFirstKey()Deprecated.QueueConfiguration.getGroupFirstKey()QueueAttributes.getLastValueKey()Deprecated.QueueConfiguration.getLastValueKey()QueueConfiguration.getName()QueueConfiguration.getUser()static SimpleStringSimpleString.of(byte[] data) creates a SimpleString from a byte arraystatic SimpleStringSimpleString.of(char c) creates a SimpleString from a characterstatic SimpleStringReturns a SimpleString constructed from thestringparameter.static SimpleStringSimpleString.of(String string, SimpleString.StringSimpleStringPool pool) Returns a SimpleString constructed from thestringparameter.ActiveMQBuffer.readNullableSimpleString()Gets a SimpleString (potentiallynull) at the currentreaderIndexstatic SimpleStringSimpleString.readNullableSimpleString(io.netty.buffer.ByteBuf buffer) static SimpleStringSimpleString.readNullableSimpleString(io.netty.buffer.ByteBuf buffer, SimpleString.ByteBufSimpleStringPool pool) ActiveMQBuffer.readSimpleString()Gets a non-null SimpleString at the currentreaderIndexstatic SimpleStringSimpleString.readSimpleString(io.netty.buffer.ByteBuf buffer) static SimpleStringSimpleString.readSimpleString(io.netty.buffer.ByteBuf buffer, int length) static SimpleStringSimpleString.readSimpleString(io.netty.buffer.ByteBuf buffer, SimpleString.ByteBufSimpleStringPool pool) SimpleString.split(char delim) Splits this SimpleString into an array of SimpleString using the char param as the delimiter. i.e.SimpleString.subSeq(int start, int end) static SimpleStringParameterisedAddress.toParameterisedAddress(SimpleString address, Map<String, String> parameters) static SimpleStringSimpleString.toSimpleString(String string) Deprecated, for removal: This API element is subject to removal in a future version.static SimpleStringSimpleString.toSimpleString(String string, SimpleString.StringSimpleStringPool pool) Deprecated, for removal: This API element is subject to removal in a future version.UseSimpleString.of(String, StringSimpleStringPool)instead.Methods in org.apache.activemq.artemis.api.core with parameters of type SimpleStringModifier and TypeMethodDescriptionintSimpleString.compareTo(SimpleString o) SimpleString.concat(SimpleString toAdd) Concatenates 2 SimpleString'sstatic SimpleStringParameterisedAddress.extractAddress(SimpleString address) protected booleanSimpleString.ByteBufSimpleStringPool.isEqual(SimpleString entry, io.netty.buffer.ByteBuf byteBuf, int offset, int length) protected booleanSimpleString.StringSimpleStringPool.isEqual(SimpleString entry, String value) static booleanParameterisedAddress.isParameterised(SimpleString address) static QueueConfigurationQueueConfiguration.of(SimpleString name) Instance factory which invokesQueueConfiguration.setName(SimpleString)QueueConfiguration.setAddress(SimpleString address) Set the address.QueueAttributes.setFilterString(SimpleString filterString) Deprecated.QueueConfiguration.setFilterString(SimpleString filterString) This sets theSimpleStringvalue that will be used to create aFilterfor theQueueimplementation on the broker.QueueAttributes.setGroupFirstKey(SimpleString groupFirstKey) Deprecated.QueueConfiguration.setGroupFirstKey(SimpleString groupFirstKey) QueueAttributes.setLastValueKey(SimpleString lastValueKey) Deprecated.QueueConfiguration.setLastValueKey(SimpleString lastValueKey) QueueConfiguration.setName(SimpleString name) Set the name.QueueConfiguration.setUser(SimpleString user) static intSimpleString.sizeofNullableString(SimpleString str) Returns the size of a SimpleString which could benull.static intSimpleString.sizeofString(SimpleString str) Returns the size of a SimpleString.booleanSimpleString.startsWith(SimpleString other) Returnstrueif theSimpleStringparameter starts with the same data as this one, otherwisefalse.static SimpleStringParameterisedAddress.toParameterisedAddress(SimpleString address, Map<String, String> parameters) voidActiveMQBuffer.writeNullableSimpleString(SimpleString val) Sets the specified SimpleString (potentiallynull) at the currentwriterIndexstatic voidSimpleString.writeNullableSimpleString(io.netty.buffer.ByteBuf buffer, SimpleString val) voidActiveMQBuffer.writeSimpleString(SimpleString val) Sets the specified non-null SimpleString at the currentwriterIndexstatic voidSimpleString.writeSimpleString(io.netty.buffer.ByteBuf buffer, SimpleString val) Constructors in org.apache.activemq.artemis.api.core with parameters of type SimpleStringModifierConstructorDescriptionParameterisedAddress(SimpleString address) ParameterisedAddress(SimpleString address, QueueAttributes queueAttributes) Deprecated.ParameterisedAddress(SimpleString address, QueueConfiguration queueConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.UseQueueConfiguration.of(SimpleString)instead.
SimpleString.of(String)instead.