A B C D E F G H I J K L M N O P Q R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(I) - Method in interface net.morimekta.providence.descriptor.PList.Builder
- add(I) - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
- add(I) - Method in interface net.morimekta.providence.descriptor.PSet.Builder
- add(I) - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- add(I) - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
- addAll(Collection<I>) - Method in interface net.morimekta.providence.descriptor.PList.Builder
- addAll(Collection<I>) - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
- addAll(Collection<I>) - Method in interface net.morimekta.providence.descriptor.PSet.Builder
- addAll(Collection<I>) - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- addAll(Collection<I>) - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
- addTo(int, Object) - Method in class net.morimekta.providence.PApplicationException._Builder
- addTo(int, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Adds a value to a set or list container.
- addTo(int, Object) - Method in class net.morimekta.providence.util.Any._Builder
- addTo(int, Object) - Method in class net.morimekta.providence.util.Empty._Builder
- addTo(F, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- ALT_MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.BinarySerializer
- Any - Class in net.morimekta.providence.util
-
A message containing anything.
- Any._Builder - Class in net.morimekta.providence.util
-
A message containing anything.
- Any._Field - Enum in net.morimekta.providence.util
- appendFieldValue(IndentedPrintWriter, PField, Object) - Method in interface net.morimekta.providence.util.LogFormatter.FieldHandler
- arrayListFromJsonResource(String, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.util.ProvidenceHelper
- arrayListFromResource(String, PMessageDescriptor<Message, Field>, Serializer) - Static method in class net.morimekta.providence.util.ProvidenceHelper
- asInteger() - Method in enum net.morimekta.providence.PApplicationExceptionType
- asInteger() - Method in enum net.morimekta.providence.PServiceCallType
- asString() - Method in exception net.morimekta.providence.PApplicationException
- asString() - Method in enum net.morimekta.providence.PApplicationExceptionType
- asString() - Method in interface net.morimekta.providence.PMessage
-
Pure string representation of content.
- asString() - Method in enum net.morimekta.providence.PServiceCallType
- asString() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- asString() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- asString() - Method in exception net.morimekta.providence.serializer.SerializerException
- asString() - Method in class net.morimekta.providence.util.Any
- asString() - Method in class net.morimekta.providence.util.Empty
- asString(byte) - Static method in class net.morimekta.providence.serializer.binary.BinaryType
-
Readable string value for a type ID.
- asString(PField) - Static method in interface net.morimekta.providence.descriptor.PField
-
asString helper for fields.
B
- B64 - Static variable in class net.morimekta.providence.serializer.pretty.Token
- BAD_SEQUENCE_ID - net.morimekta.providence.PApplicationExceptionType
-
The response came back with a non-matching sequence ID.
- BaseSerializerProvider - Class in net.morimekta.providence.serializer
-
Default serializer provider for core serializers.
- BaseSerializerProvider(String) - Constructor for class net.morimekta.providence.serializer.BaseSerializerProvider
-
Get provider with the given default media type.
- BaseTypeRegistry - Class in net.morimekta.providence.util
-
Registry for declared types referenced in a flat space program context.
- BaseTypeRegistry() - Constructor for class net.morimekta.providence.util.BaseTypeRegistry
- BINARY - net.morimekta.providence.PType
- BINARY - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- BinaryFormatUtils - Class in net.morimekta.providence.serializer.binary
-
Utilities helping with reading and writing binary format (protocol) messages.
- BinaryFormatUtils() - Constructor for class net.morimekta.providence.serializer.binary.BinaryFormatUtils
- BinaryFormatUtils.FieldInfo - Class in net.morimekta.providence.serializer.binary
-
Field info data holder with convenience methods.
- binaryProtocol() - Method in class net.morimekta.providence.serializer.BinarySerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.JsonSerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.PrettySerializer
- binaryProtocol() - Method in class net.morimekta.providence.serializer.Serializer
- BinaryReader - Interface in net.morimekta.providence.serializer.binary
-
Interface for message builders that can read binary directly from an big endian binary reader.
- BinarySerializer - Class in net.morimekta.providence.serializer
-
Compact binary serializer.
- BinarySerializer() - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinarySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinarySerializer(boolean, boolean) - Constructor for class net.morimekta.providence.serializer.BinarySerializer
-
Construct a serializer instance.
- BinaryType - Class in net.morimekta.providence.serializer.binary
-
Helper class for having binary type ID constants and getting the right binary type ID for a value type.
- BinaryWriter - Interface in net.morimekta.providence.serializer.binary
-
Interface for messages that can directly be written to binary.
- BOOL - net.morimekta.providence.PType
- BOOL - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- BOOL - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- build() - Method in interface net.morimekta.providence.descriptor.PList.Builder
- build() - Method in class net.morimekta.providence.descriptor.PList.DefaultBuilder
- build() - Method in interface net.morimekta.providence.descriptor.PMap.Builder
- build() - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- build() - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
- build() - Method in interface net.morimekta.providence.descriptor.PSet.Builder
- build() - Method in class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- build() - Method in class net.morimekta.providence.descriptor.PSet.SortedBuilder
- build() - Method in class net.morimekta.providence.PApplicationException._Builder
- build() - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- build() - Method in interface net.morimekta.providence.PBuilder
-
Build the instance value.
- build() - Method in class net.morimekta.providence.PServiceCallType._Builder
- build() - Method in class net.morimekta.providence.util.Any._Builder
- build() - Method in class net.morimekta.providence.util.Empty._Builder
- builder() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
-
Get the builder for the given declared type.
- builder() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- builder() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- builder() - Static method in exception net.morimekta.providence.PApplicationException
-
Make a
pservice.PApplicationException
builder. - builder() - Static method in class net.morimekta.providence.util.Any
-
Make a
putil.Any
builder. - builder() - Static method in class net.morimekta.providence.util.Empty
-
Make a
putil.Empty
builder. - builder(int) - Method in class net.morimekta.providence.descriptor.PContainer
-
Get an instance builder for the container.
- builder(int) - Method in class net.morimekta.providence.descriptor.PList
- builder(int) - Method in class net.morimekta.providence.descriptor.PMap
- builder(int) - Method in class net.morimekta.providence.descriptor.PSet
- BYTE - net.morimekta.providence.PType
- BYTE - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- BYTE - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
C
- CALL - net.morimekta.providence.PServiceCallType
-
Normal service method call request.
- characteristics() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Ordered, non-null and immutable.
- clear(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- clear(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Clear the provided field value.
- clear(int) - Method in class net.morimekta.providence.util.Any._Builder
- clear(int) - Method in class net.morimekta.providence.util.Empty._Builder
- clear(F) - Method in class net.morimekta.providence.PMessageBuilder
-
Clear the provided field value.
- clearData() - Method in class net.morimekta.providence.util.Any._Builder
-
Clear the
data
field. - clearId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Clear the
id
field. - clearMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
Clear the
media_type
field. - clearMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Clear the
message
field. - clearText() - Method in class net.morimekta.providence.util.Any._Builder
-
Clear the
text
field. - clearType() - Method in class net.morimekta.providence.util.Any._Builder
-
Clear the
type
field. - close() - Method in class net.morimekta.providence.mio.FileMessageReader
- close() - Method in class net.morimekta.providence.mio.FileMessageWriter
- close() - Method in class net.morimekta.providence.mio.IOMessageReader
- close() - Method in class net.morimekta.providence.mio.IOMessageWriter
- close() - Method in class net.morimekta.providence.mio.QueuedMessageWriter
- close() - Method in class net.morimekta.providence.mio.RollingFileMessageWriter
- compact() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to the PMessage asString methods.
- compareTo(PApplicationException) - Method in exception net.morimekta.providence.PApplicationException
- compareTo(Any) - Method in class net.morimekta.providence.util.Any
- compareTo(Empty) - Method in class net.morimekta.providence.util.Empty
- config() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to what the ProvidenceConfig reads.
- consumeMessage(BigEndianBinaryReader) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Consume a message from the stream without parsing the content into a message.
- CONTAINER - net.morimekta.providence.util.ThriftAnnotation
-
Whether a set-like container are normal (hash-), ordered (linked-hash-) or sorted (tree-).
D
- DATA - net.morimekta.providence.util.Any._Field
- debugString(Message) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
Prints a pretty formatted string that is optimized for diffing (mainly for testing and debugging).
- decodeLiteral(boolean) - Method in class net.morimekta.providence.serializer.pretty.Token
-
Get the whole slice as a string.
- DEFAULT - net.morimekta.providence.descriptor.PRequirement
- DEFAULT - net.morimekta.providence.util.ThriftContainer
- DEFAULT_BUFFER_SIZE - Static variable in class net.morimekta.providence.serializer.pretty.Tokenizer
- DEFAULT_FIRST_VALUE - Static variable in class net.morimekta.providence.descriptor.PEnumDescriptor
- DEFAULT_STRICT - Static variable in class net.morimekta.providence.serializer.Serializer
-
Default value for the "strict" serializer settings.
- DefaultBuilder() - Constructor for class net.morimekta.providence.descriptor.PList.DefaultBuilder
- DefaultBuilder() - Constructor for class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- DefaultBuilder() - Constructor for class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- DefaultBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PList.DefaultBuilder
- DefaultBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- DefaultBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PSet.DefaultBuilder
- DefaultSerializerProvider - Class in net.morimekta.providence.serializer
-
Default serializer provider for core serializers.
- DefaultSerializerProvider() - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get the default serializer provider.
- DefaultSerializerProvider(boolean) - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get the default serializer provider.
- DefaultSerializerProvider(String) - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get provider with the given default media type.
- DefaultSerializerProvider(String, boolean) - Constructor for class net.morimekta.providence.serializer.DefaultSerializerProvider
-
Get provider with the given default media type and strict mode.
- DEPRECATED - net.morimekta.providence.util.ThriftAnnotation
-
If the field, message, service or method is not supposed to be used any more.
- descriptor() - Method in class net.morimekta.providence.descriptor.PContainerProvider
- descriptor() - Method in interface net.morimekta.providence.descriptor.PDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PEnumDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PMessageDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PPrimitiveProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PStructDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.descriptor.PUnionDescriptorProvider
- descriptor() - Method in class net.morimekta.providence.PApplicationException._Builder
- descriptor() - Method in exception net.morimekta.providence.PApplicationException
- descriptor() - Method in enum net.morimekta.providence.PApplicationExceptionType
- descriptor() - Method in interface net.morimekta.providence.PEnumValue
- descriptor() - Method in interface net.morimekta.providence.PMessage
- descriptor() - Method in class net.morimekta.providence.PMessageBuilder
-
Get the descriptor for the message being built.
- descriptor() - Method in enum net.morimekta.providence.PServiceCallType
- descriptor() - Method in interface net.morimekta.providence.PValue
- descriptor() - Method in class net.morimekta.providence.util.Any._Builder
- descriptor() - Method in class net.morimekta.providence.util.Any
- descriptor() - Method in class net.morimekta.providence.util.Empty._Builder
- descriptor() - Method in class net.morimekta.providence.util.Empty
- deserialize(InputStream, PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.serializer.BinarySerializer
- deserialize(InputStream, PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- deserialize(InputStream, PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.serializer.PrettySerializer
- deserialize(InputStream, PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.serializer.Serializer
-
Deserialize a message.
- deserialize(InputStream, PMessageDescriptor<T, TF>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.BinarySerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.JsonSerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.PrettySerializer
- deserialize(InputStream, PService) - Method in class net.morimekta.providence.serializer.Serializer
-
Deserialize a service call.
- deserialize(Reader, PMessageDescriptor<T, TF>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- DOUBLE - net.morimekta.providence.PType
- DOUBLE - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- DOUBLE - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
E
- Empty - Class in net.morimekta.providence.util
-
Dummy struct that is just empty.
- Empty._Builder - Class in net.morimekta.providence.util
-
Dummy struct that is just empty.
- Empty._Field - Enum in net.morimekta.providence.util
- ENUM - net.morimekta.providence.PType
- eof(String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- equals(Object) - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
- equals(Object) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- equals(Object) - Method in class net.morimekta.providence.descriptor.PList
- equals(Object) - Method in class net.morimekta.providence.descriptor.PMap
- equals(Object) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- equals(Object) - Method in class net.morimekta.providence.descriptor.PPrimitive
- equals(Object) - Method in class net.morimekta.providence.descriptor.PSet
- equals(Object) - Method in class net.morimekta.providence.PApplicationException._Builder
- equals(Object) - Method in exception net.morimekta.providence.PApplicationException
- equals(Object) - Method in class net.morimekta.providence.PServiceCall
- equals(Object) - Method in class net.morimekta.providence.serializer.pretty.Token
- equals(Object) - Method in class net.morimekta.providence.util.Any._Builder
- equals(Object) - Method in class net.morimekta.providence.util.Any
- equals(Object) - Method in class net.morimekta.providence.util.Empty._Builder
- equals(Object) - Method in class net.morimekta.providence.util.Empty
- estimateSize() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
We mostly never know the number of messages in a message stream until the last message has been read.
- EXCEPTION - net.morimekta.providence.PMessageVariant
- EXCEPTION - net.morimekta.providence.PServiceCallType
-
An application exception, i.e. either a non-declared exception, or a providence service or serialization exception.
- expect(String) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Expect a new JSON token on the stream.
- expect(String, Tokenizer.TokenValidator) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Expect at a valid token containing anything.
- expectIdentifier(String) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- expectInteger(String) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- expectLiteral(String) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- expectSymbol(String, char...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
F
- failure(int, int, int, String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- failure(String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- failure(Token, String, Object...) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- FastBinarySerializer - Class in net.morimekta.providence.serializer
-
Compact binary serializer.
- FastBinarySerializer() - Constructor for class net.morimekta.providence.serializer.FastBinarySerializer
-
Construct a serializer instance.
- FastBinarySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.FastBinarySerializer
-
Construct a serializer instance.
- fieldForId(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- fieldForId(int) - Static method in enum net.morimekta.providence.PApplicationException._Field
- fieldForId(int) - Static method in enum net.morimekta.providence.util.Any._Field
- fieldForId(int) - Static method in enum net.morimekta.providence.util.Empty._Field
- fieldForName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- fieldForName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
- fieldForName(String) - Static method in enum net.morimekta.providence.util.Any._Field
- fieldForName(String) - Static method in enum net.morimekta.providence.util.Empty._Field
- FieldInfo(int, byte) - Constructor for class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
-
Create a field info instance.
- fieldIsValueType - Variable in enum net.morimekta.providence.descriptor.PRequirement
- file(File, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- FileMessageReader - Class in net.morimekta.providence.mio
-
A message reader that reads from a single file until the end.
- FileMessageReader(File, Serializer) - Constructor for class net.morimekta.providence.mio.FileMessageReader
-
Create the file message reader.
- FileMessageWriter - Class in net.morimekta.providence.mio
-
A message writer that writes to a single file until the end.
- FileMessageWriter(File, Serializer) - Constructor for class net.morimekta.providence.mio.FileMessageWriter
- FileMessageWriter(File, Serializer, boolean) - Constructor for class net.morimekta.providence.mio.FileMessageWriter
- fillInStackTrace() - Method in exception net.morimekta.providence.PApplicationException
- finalTypename(String, String) - Method in class net.morimekta.providence.util.BaseTypeRegistry
-
Get the final typename of the given identifier within the context.
- findById(int) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- findById(int) - Static method in enum net.morimekta.providence.PApplicationException._Field
- findById(int) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its ID
- findById(int) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its ID
- findById(int) - Static method in enum net.morimekta.providence.util.Any._Field
- findById(int) - Static method in enum net.morimekta.providence.util.Empty._Field
- findById(Integer) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its ID
- findById(Integer) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its ID
- findByName(String) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- findByName(String) - Static method in class net.morimekta.providence.descriptor.PPrimitive
-
Find primitive by name.
- findByName(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
- findByName(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Find a value based in its name
- findByName(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Find a value based in its name
- findByName(String) - Static method in enum net.morimekta.providence.util.Any._Field
- findByName(String) - Static method in enum net.morimekta.providence.util.Empty._Field
- findFieldById(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- findFieldByName(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- format(Message) - Method in class net.morimekta.providence.util.LogFormatter
-
Format message to a string.
- formatTo(OutputStream, Message) - Method in class net.morimekta.providence.util.LogFormatter
-
Format message and write to the output stream.
- forName(String) - Static method in enum net.morimekta.providence.util.ThriftContainer
- forTag(String) - Static method in enum net.morimekta.providence.util.ThriftAnnotation
- forType(PType) - Static method in class net.morimekta.providence.serializer.binary.BinaryType
-
Get the binary type for the given value type.
- fromJsonResource(String, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.util.ProvidenceHelper
- fromResource(String, PMessageDescriptor<Message, Field>, Serializer) - Static method in class net.morimekta.providence.util.ProvidenceHelper
G
- get() - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
- get() - Method in interface net.morimekta.providence.descriptor.PValueProvider
- get(int) - Method in exception net.morimekta.providence.PApplicationException
- get(int) - Method in interface net.morimekta.providence.PMessage
- get(int) - Method in class net.morimekta.providence.util.Any
- get(int) - Method in class net.morimekta.providence.util.Empty
- get(Field) - Method in interface net.morimekta.providence.PMessage
- getBuilderSupplier() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- getBuilderSupplier() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
Get the actual builder builderSupplier instance.
- getCallType() - Method in exception net.morimekta.providence.serializer.SerializerException
- getCause() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getComparator() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Messages are comparable.
- getConstantValue(String, String) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
- getConstantValue(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
This is to check to find a constant given the const name and program context.
- getData() - Method in class net.morimekta.providence.util.Any._Builder
-
The actual content binary data.
- getData() - Method in class net.morimekta.providence.util.Any
-
The actual content binary data.
- getDeclaredType(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get a declared type by its qualified type name.
- getDeclaredType(String, String) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
- getDeclaredType(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get the declared type with the given name and program context.
- getDefault() - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
- getDefault() - Method in interface net.morimekta.providence.serializer.SerializerProvider
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getDefaultValue() - Method in interface net.morimekta.providence.descriptor.PDescriptor
- getDefaultValue() - Method in interface net.morimekta.providence.descriptor.PField
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PList
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PMap
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PPrimitive
- getDefaultValue() - Method in class net.morimekta.providence.descriptor.PSet
- getDefaultValue() - Method in enum net.morimekta.providence.PApplicationException._Field
- getDefaultValue() - Method in enum net.morimekta.providence.util.Any._Field
- getDefaultValue() - Method in enum net.morimekta.providence.util.Empty._Field
- getDescriptor() - Method in interface net.morimekta.providence.descriptor.PField
- getDescriptor() - Method in enum net.morimekta.providence.PApplicationException._Field
- getDescriptor() - Method in interface net.morimekta.providence.PProcessor
-
Get the descriptor for the given service.
- getDescriptor() - Method in enum net.morimekta.providence.util.Any._Field
- getDescriptor() - Method in enum net.morimekta.providence.util.Empty._Field
- getEnumType(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
These extra casts needs to be there, otherwise we'd get this error: incompatible types: inference variable T has incompatible upper bounds
- getExactSizeIfKnown() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
We mostly never know the number of messages in a message stream until the last message has been read.
- getExceptionType() - Method in exception net.morimekta.providence.serializer.SerializerException
- getExtendsService() - Method in class net.morimekta.providence.descriptor.PService
-
Get the service that this service extends.
- getField(int) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
Deprecated.since 0.5.0. Use
PMessageDescriptor.findFieldById(int)
instead. - getField(String) - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
-
Deprecated.since 0.5.0. Use
PMessageDescriptor.findFieldByName(String)
instead. - getFields() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- getFile() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- getFilesToDelete(List<String>, String) - Method in class net.morimekta.providence.mio.rolling.KeepLastNCleanupPolicy
- getFilesToDelete(List<String>, String) - Method in class net.morimekta.providence.mio.rolling.TimeBasedCleanupPolicy
- getFilesToDelete(List<String>, String) - Method in interface net.morimekta.providence.mio.RollingFileMessageWriter.CleanupPolicy
-
Get a list of files that needs to be deleted because of the cleanup policy.
- getFormatter(String, TimeUnit) - Static method in class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
- getId() - Method in interface net.morimekta.providence.descriptor.PField
- getId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
The application exception type.
- getId() - Method in enum net.morimekta.providence.PApplicationException._Field
- getId() - Method in exception net.morimekta.providence.PApplicationException
-
The application exception type.
- getId() - Method in interface net.morimekta.providence.PEnumValue
-
Deprecated.since 1.10.0 Use
Numeric.asInteger()
instead. Will be removed in a future version, but kept for now as it is too widely used to be removed immediately. - getId() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
- getId() - Method in enum net.morimekta.providence.util.Any._Field
- getId() - Method in enum net.morimekta.providence.util.Empty._Field
- getLastToken() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- getLen() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLength() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- getLine() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLine() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- getLineNo() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLineNo() - Method in class net.morimekta.providence.serializer.pretty.Token
- getLineNo() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- getLinePos() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- getLinePos() - Method in class net.morimekta.providence.serializer.pretty.Token
- getLinePos() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- getMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
The media type used for encoding.
- getMediaType() - Method in class net.morimekta.providence.util.Any
-
The media type used for encoding.
- getMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Exception message.
- getMessage() - Method in exception net.morimekta.providence.PApplicationException
-
Exception message.
- getMessage() - Method in class net.morimekta.providence.PServiceCall
-
The message sent or received.
- getMessageType(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
These extra casts needs to be there, otherwise we'd get this error: incompatible types: inference variable T has incompatible upper bounds
- getMethod() - Method in class net.morimekta.providence.PServiceCall
-
The name of the method called.
- getMethod(String) - Method in class net.morimekta.providence.descriptor.PService
-
Get the method definition for the given method name.
- getMethodName() - Method in exception net.morimekta.providence.serializer.SerializerException
- getMethods() - Method in class net.morimekta.providence.descriptor.PService
-
Get the collection of methods for the service, including all inherited services.
- getName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
The name of the type is the Identifier string from the IDL.
- getName() - Method in interface net.morimekta.providence.descriptor.PField
- getName() - Method in class net.morimekta.providence.descriptor.PList
- getName() - Method in class net.morimekta.providence.descriptor.PMap
- getName() - Method in class net.morimekta.providence.descriptor.PPrimitive
- getName() - Method in class net.morimekta.providence.descriptor.PService
- getName() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- getName() - Method in class net.morimekta.providence.descriptor.PSet
- getName() - Method in enum net.morimekta.providence.PApplicationException._Field
- getName() - Method in interface net.morimekta.providence.PEnumValue
-
Deprecated.since 1.10.0 Use
Numeric.asInteger()
instead. Will be removed in a future version, but kept for now as it is too widely used to be removed immediately. - getName() - Method in enum net.morimekta.providence.util.Any._Field
- getName() - Method in enum net.morimekta.providence.util.Empty._Field
- getNativeType() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
Get the java native type for the given primitive.
- getNextSequenceId() - Method in class net.morimekta.providence.PClient
-
Get the next available sequence ID.
- getOffset() - Method in class net.morimekta.providence.serializer.pretty.Token
- getProgramName() - Method in class net.morimekta.providence.descriptor.PContainer
- getProgramName() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getProgramName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
The package name is derived form the .thrift file name that is parsed or if read from serialized format is explicit.
- getProgramName() - Method in class net.morimekta.providence.descriptor.PPrimitive
- getProgramName() - Method in class net.morimekta.providence.descriptor.PService
- getProvider(String, String, Map<String, String>) - Method in class net.morimekta.providence.util.BaseTypeRegistry
- getProvider(String, String, Map<String, String>) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Given a type name and a package context, fetches the type provider for the given type.
- getQualifiedName() - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
This will return the globally qualified name of the type given the program context.
- getQualifiedName() - Method in class net.morimekta.providence.descriptor.PService
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- getQualifiedName(String) - Method in interface net.morimekta.providence.descriptor.PDescriptor
-
This will return the qualified name of the type given the program context.
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PList
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PMap
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PPrimitive
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PService
- getQualifiedName(String) - Method in class net.morimekta.providence.descriptor.PSet
- getRequestType() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- getRequirement() - Method in interface net.morimekta.providence.descriptor.PField
- getRequirement() - Method in enum net.morimekta.providence.PApplicationException._Field
- getRequirement() - Method in enum net.morimekta.providence.util.Any._Field
- getRequirement() - Method in enum net.morimekta.providence.util.Empty._Field
- getResponseType() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- getSequence() - Method in class net.morimekta.providence.PServiceCall
-
The sequence number of the call.
- getSequenceNo() - Method in exception net.morimekta.providence.serializer.SerializerException
- getSerializer(String) - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
- getSerializer(String) - Method in interface net.morimekta.providence.serializer.SerializerProvider
-
Get serializer for the given media type
- getService() - Method in interface net.morimekta.providence.descriptor.PServiceProvider
- getService(String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get a service definition from it's qualified service name.
- getService(String, String) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
- getService(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Get a service definition from the name and program context.
- getServiceProvider(String, String) - Method in class net.morimekta.providence.util.BaseTypeRegistry
- getServiceProvider(String, String) - Method in interface net.morimekta.providence.util.TypeRegistry
-
Given a service name and program context, fetches the service provider for the given service.
- getTargetModifications(M, M) - Static method in class net.morimekta.providence.util.ProvidenceHelper
- getText() - Method in class net.morimekta.providence.util.Any._Builder
-
Optional string encoded content for non-binary media types.
- getText() - Method in class net.morimekta.providence.util.Any
-
Optional string encoded content for non-binary media types.
- getType() - Method in interface net.morimekta.providence.descriptor.PDescriptor
- getType() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- getType() - Method in interface net.morimekta.providence.descriptor.PField
- getType() - Method in class net.morimekta.providence.descriptor.PList
- getType() - Method in class net.morimekta.providence.descriptor.PMap
- getType() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- getType() - Method in class net.morimekta.providence.descriptor.PPrimitive
- getType() - Method in class net.morimekta.providence.descriptor.PSet
- getType() - Method in class net.morimekta.providence.PServiceCall
-
The type of service call.
- getType() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
- getType() - Method in class net.morimekta.providence.util.Any._Builder
-
The thrift / providence program + message type name.
- getType() - Method in class net.morimekta.providence.util.Any
-
The thrift / providence program + message type name.
- getValue() - Method in interface net.morimekta.providence.PEnumValue
-
Deprecated.since 0.5.0 Use
Numeric.asInteger()
orPEnumValue.getId()
instead. Will be removed in a future version, but kept for now as it is too widely used to be removed immediately. - getValues() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PExceptionDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PStructDescriptor
- getVariant() - Method in class net.morimekta.providence.descriptor.PUnionDescriptor
H
- handleCall(PServiceCall<Request, RequestField>) - Method in interface net.morimekta.providence.PProcessor
-
Handle a service call.
- handleCall(PServiceCall<Request, RequestField>, PService) - Method in interface net.morimekta.providence.PServiceCallHandler
-
Handle a service call.
- has(int) - Method in exception net.morimekta.providence.PApplicationException
- has(int) - Method in interface net.morimekta.providence.PMessage
- has(int) - Method in class net.morimekta.providence.util.Any
- has(int) - Method in class net.morimekta.providence.util.Empty
- has(Field) - Method in interface net.morimekta.providence.PMessage
- hasData() - Method in class net.morimekta.providence.util.Any
- hasDefaultValue() - Method in interface net.morimekta.providence.descriptor.PField
- hasDefaultValue() - Method in enum net.morimekta.providence.PApplicationException._Field
- hasDefaultValue() - Method in enum net.morimekta.providence.util.Any._Field
- hasDefaultValue() - Method in enum net.morimekta.providence.util.Empty._Field
- hashCode() - Method in class net.morimekta.providence.descriptor.PDefaultValueProvider
- hashCode() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- hashCode() - Method in class net.morimekta.providence.descriptor.PList
- hashCode() - Method in class net.morimekta.providence.descriptor.PMap
- hashCode() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- hashCode() - Method in class net.morimekta.providence.descriptor.PPrimitive
- hashCode() - Method in class net.morimekta.providence.descriptor.PSet
- hashCode() - Method in class net.morimekta.providence.PApplicationException._Builder
- hashCode() - Method in exception net.morimekta.providence.PApplicationException
- hashCode() - Method in class net.morimekta.providence.PServiceCall
- hashCode() - Method in class net.morimekta.providence.serializer.pretty.Token
- hashCode() - Method in class net.morimekta.providence.util.Any._Builder
- hashCode() - Method in class net.morimekta.providence.util.Any
- hashCode() - Method in class net.morimekta.providence.util.Empty._Builder
- hashCode() - Method in class net.morimekta.providence.util.Empty
- hasId() - Method in exception net.morimekta.providence.PApplicationException
- hasMediaType() - Method in class net.morimekta.providence.util.Any
- hasMessage() - Method in exception net.morimekta.providence.PApplicationException
- hasNext() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Whether there is another token on the stream.
- hasText() - Method in class net.morimekta.providence.util.Any
- hasType() - Method in class net.morimekta.providence.util.Any
- HEX - Static variable in class net.morimekta.providence.serializer.pretty.Token
I
- I16 - net.morimekta.providence.PType
- I16 - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- I16 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- I32 - net.morimekta.providence.PType
- I32 - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- I32 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- I64 - net.morimekta.providence.PType
- I64 - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- I64 - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- ID - net.morimekta.providence.PApplicationException._Field
- initCause(Throwable) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Initializes the cause of the pservice.PApplicationException
- initCause(Throwable) - Method in exception net.morimekta.providence.PApplicationException
- initCause(Throwable) - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- initCause(Throwable) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- INSTANCE - Static variable in class net.morimekta.providence.serializer.BinarySerializer
-
An instance of the binary serializer with lenient (non-strict) parsing ready to be used in serialization.
- INTERNAL_ERROR - net.morimekta.providence.PApplicationExceptionType
-
The service handler or client handler experienced internal problem.
- INVALID_MESSAGE_TYPE - net.morimekta.providence.PApplicationExceptionType
-
The service call type does not make sense, or is plain wrong, e.g.
- INVALID_PROTOCOL - net.morimekta.providence.PApplicationExceptionType
-
The requested protocol (or version) is not supported.
- INVALID_TRANSFORM - net.morimekta.providence.PApplicationExceptionType
-
NOTE: This value is apparently not in use in thrift.
- IOMessageReader - Class in net.morimekta.providence.mio
-
A reader helper class for matching a serializer with an input stream.
- IOMessageReader(InputStream, Serializer) - Constructor for class net.morimekta.providence.mio.IOMessageReader
- IOMessageWriter - Class in net.morimekta.providence.mio
-
A writer helper class for matching a serializer with an output stream.
- IOMessageWriter(OutputStream, Serializer) - Constructor for class net.morimekta.providence.mio.IOMessageWriter
- isDoubleQualifiedIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
- isIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
- isInteger() - Method in class net.morimekta.providence.serializer.pretty.Token
- isJsonCompactible() - Method in interface net.morimekta.providence.serializer.json.JsonCompactibleDescriptor
- isModified(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- isModified(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is modified on the builder.
- isModified(int) - Method in class net.morimekta.providence.util.Any._Builder
- isModified(int) - Method in class net.morimekta.providence.util.Empty._Builder
- isModified(F) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is modified on the builder.
- isModifiedData() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the
data
field has been modified since the builder was created. - isModifiedId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks if the
id
field has been modified since the builder was created. - isModifiedMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the
media_type
field has been modified since the builder was created. - isModifiedMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks if the
message
field has been modified since the builder was created. - isModifiedText() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the
text
field has been modified since the builder was created. - isModifiedType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks if the
type
field has been modified since the builder was created. - isNativePrimitive() - Method in class net.morimekta.providence.descriptor.PPrimitive
- isOneway() - Method in interface net.morimekta.providence.descriptor.PServiceMethod
- isQualifiedIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
- isReal() - Method in class net.morimekta.providence.serializer.pretty.Token
- isReferenceIdentifier() - Method in class net.morimekta.providence.serializer.pretty.Token
- isRequestCallType(PServiceCallType) - Method in class net.morimekta.providence.serializer.Serializer
-
Utility method to check if a service call is a request type.
- isSet(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- isSet(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- isSet(int) - Method in class net.morimekta.providence.util.Any._Builder
- isSet(int) - Method in class net.morimekta.providence.util.Empty._Builder
- isSet(F) - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if a specific field is set on the builder.
- isSetData() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the
data
field. - isSetId() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for presence of the
id
field. - isSetMediaType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the
media_type
field. - isSetMessage() - Method in class net.morimekta.providence.PApplicationException._Builder
-
Checks for presence of the
message
field. - isSetText() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the
text
field. - isSetType() - Method in class net.morimekta.providence.util.Any._Builder
-
Checks for presence of the
type
field. - isSimple() - Method in class net.morimekta.providence.descriptor.PMessageDescriptor
- isStringLiteral() - Method in class net.morimekta.providence.serializer.pretty.Token
- isSymbol(char) - Method in class net.morimekta.providence.serializer.pretty.Token
- itemDescriptor() - Method in class net.morimekta.providence.descriptor.PContainer
J
- JAVA_EXCEPTION_CLASS - net.morimekta.providence.util.ThriftAnnotation
-
Specify exception class to extend for exception structs.
- JAVA_HAZELCAST_CLASS_ID - net.morimekta.providence.util.ThriftAnnotation
-
Specify if a struct should be generated using hazelcast.portable interface to be compatible with serialization and deserialization of hazelcast portable.
- JAVA_HAZELCAST_FACTORY_ID - net.morimekta.providence.util.ThriftAnnotation
-
Specify if a file should generate with support with hazelcast portable implementation.
- JAVA_IMPLEMENTS - net.morimekta.providence.util.ThriftAnnotation
-
Add extra interfaces to a struct.
- JAVA_PUBLIC_CONSTRUCTOR - net.morimekta.providence.util.ThriftAnnotation
-
For struct and exception.
- JAVA_SERVICE_METHOD_THROWS - net.morimekta.providence.util.ThriftAnnotation
-
Specify an exception class to throw instead of the default declared exceptions.
- JSON_COMPACT - net.morimekta.providence.util.ThriftAnnotation
-
If a struct can use a compact serialized format.
- JSON_MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.JsonSerializer
- jsonCompact() - Method in interface net.morimekta.providence.serializer.json.JsonCompactible
- JsonCompactible - Interface in net.morimekta.providence.serializer.json
-
Marker class and implementation check for if a struct can use the JSON jsonCompact format, using an array of the fields in numeric order.
- JsonCompactibleDescriptor - Interface in net.morimekta.providence.serializer.json
-
Marker class and implementation check for if a struct can use the JSON jsonCompact format, using an array of the fields in numeric order.
- JsonSerializer - Class in net.morimekta.providence.serializer
-
Compact JSON serializer.
- JsonSerializer() - Constructor for class net.morimekta.providence.serializer.JsonSerializer
- JsonSerializer(boolean) - Constructor for class net.morimekta.providence.serializer.JsonSerializer
- JsonSerializerException - Exception in net.morimekta.providence.serializer
-
Wrapper for a JsonException into a SerializerException.
- JsonSerializerException(JsonException) - Constructor for exception net.morimekta.providence.serializer.JsonSerializerException
K
- kCarriageReturn - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kDescriptor - Static variable in exception net.morimekta.providence.PApplicationException
- kDescriptor - Static variable in enum net.morimekta.providence.PApplicationExceptionType
- kDescriptor - Static variable in enum net.morimekta.providence.PServiceCallType
- kDescriptor - Static variable in class net.morimekta.providence.util.Any
- kDescriptor - Static variable in class net.morimekta.providence.util.Empty
- KeepLastNCleanupPolicy - Class in net.morimekta.providence.mio.rolling
-
Cleanup policy that keeps the N previous files.
- KeepLastNCleanupPolicy(int, String) - Constructor for class net.morimekta.providence.mio.rolling.KeepLastNCleanupPolicy
- KeepLastNCleanupPolicy(int, Pattern) - Constructor for class net.morimekta.providence.mio.rolling.KeepLastNCleanupPolicy
- keyDescriptor() - Method in class net.morimekta.providence.descriptor.PMap
- kFieldValueSep - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kGenericEnd - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kGenericStart - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kIdentifierSep - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kKeyValueSep - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kLineSep1 - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kLineSep2 - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kListEnd - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kListStart - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kLiteralDoubleQuote - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kLiteralEscape - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kLiteralQuote - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kMessageEnd - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kMessageStart - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kNewLine - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kParamsEnd - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kParamsStart - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kShellComment - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kSpace - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kSymbols - Static variable in class net.morimekta.providence.serializer.pretty.Token
- kTab - Static variable in class net.morimekta.providence.serializer.pretty.Token
L
- label - Variable in enum net.morimekta.providence.descriptor.PRequirement
- LIST - net.morimekta.providence.PType
- LIST - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- LogFormatter - Class in net.morimekta.providence.util
-
LogFormatter is a formatter (one-way serialization) similar to the PrettySerializer, except it supports adding FieldHandlers to modify in.
- LogFormatter(boolean, Collection<LogFormatter.FieldHandler>) - Constructor for class net.morimekta.providence.util.LogFormatter
-
Create a log formatter.
- LogFormatter(boolean, LogFormatter.FieldHandler...) - Constructor for class net.morimekta.providence.util.LogFormatter
-
Create a log formatter.
- LogFormatter(LogFormatter.FieldHandler...) - Constructor for class net.morimekta.providence.util.LogFormatter
-
Create a log formatter with compact format.
- LogFormatter.FieldHandler - Interface in net.morimekta.providence.util
-
Handler for a single field in a message.
M
- MAP - net.morimekta.providence.PType
- MAP - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- maybeUpdateCurrentFile(RollingFileMessageWriter.CurrentFileUpdater, boolean) - Method in class net.morimekta.providence.mio.rolling.SizeBasedRollingPolicy
- maybeUpdateCurrentFile(RollingFileMessageWriter.CurrentFileUpdater, boolean) - Method in class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
- maybeUpdateCurrentFile(RollingFileMessageWriter.CurrentFileUpdater, boolean) - Method in interface net.morimekta.providence.mio.RollingFileMessageWriter.RollingPolicy
-
Maybe call the current file updater.
- MEDIA_TYPE - net.morimekta.providence.util.Any._Field
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.BinarySerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.FastBinarySerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.JsonSerializer
- MEDIA_TYPE - Static variable in class net.morimekta.providence.serializer.PrettySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.BinarySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.JsonSerializer
- mediaType() - Method in class net.morimekta.providence.serializer.PrettySerializer
- mediaType() - Method in class net.morimekta.providence.serializer.Serializer
- merge(PApplicationException) - Method in class net.morimekta.providence.PApplicationException._Builder
- merge(Any) - Method in class net.morimekta.providence.util.Any._Builder
- merge(Empty) - Method in class net.morimekta.providence.util.Empty._Builder
- merge(T) - Method in class net.morimekta.providence.PMessageBuilder
-
Merges the provided message into the builder.
- mergeWith(Message) - Method in interface net.morimekta.providence.PMessage
-
Shorthand for merging two messages.
- MESSAGE - net.morimekta.providence.PApplicationException._Field
- MESSAGE - net.morimekta.providence.PType
- MESSAGE_FIELD - net.morimekta.providence.util.ThriftAnnotation
-
Specify which field to use for the exception message.
- MessageCollectors - Class in net.morimekta.providence.streams
-
Collector helpers for writing a number of messages to a output stream, file etc.
- MessageReader - Interface in net.morimekta.providence.mio
-
An interface for reading messages and service calls.
- MessageSpliterator<Message extends PMessage<Message,Field>,Field extends PField> - Class in net.morimekta.providence.streams
-
Spliterator that reads messages from a stream.
- MessageSpliterator(InputStream, Serializer, PMessageDescriptor<Message, Field>) - Constructor for class net.morimekta.providence.streams.MessageSpliterator
-
Make a self-closing message spliterator.
- MessageSpliterator(InputStream, Serializer, PMessageDescriptor<Message, Field>, Closeable) - Constructor for class net.morimekta.providence.streams.MessageSpliterator
-
Make a spliterator with specific closing function.
- MessageStreams - Class in net.morimekta.providence.streams
-
Helper class to create streams that read providence messages.
- MessageStreams() - Constructor for class net.morimekta.providence.streams.MessageStreams
- MessageWriter - Interface in net.morimekta.providence.mio
-
An interface for writing messages and service calls.
- MISSING_RESULT - net.morimekta.providence.PApplicationExceptionType
-
The response did not have a defined non-null result.
- modifiedFields() - Method in class net.morimekta.providence.PMessageBuilder
-
Get a Collection of F with fields Modified since creation of the builder.
- mutate() - Method in exception net.morimekta.providence.PApplicationException
- mutate() - Method in interface net.morimekta.providence.PMessage
-
Get a builder that extends the current object.
- mutate() - Method in class net.morimekta.providence.util.Any
- mutate() - Method in class net.morimekta.providence.util.Empty
- mutator(int) - Method in class net.morimekta.providence.PApplicationException._Builder
- mutator(int) - Method in class net.morimekta.providence.PMessageBuilder
-
Get the builder for the given message contained in this builder.
- mutator(int) - Method in class net.morimekta.providence.util.Any._Builder
- mutator(int) - Method in class net.morimekta.providence.util.Empty._Builder
- mutator(F) - Method in class net.morimekta.providence.PMessageBuilder
-
Get the builder for the given message contained in this builder.
N
- named() - Method in class net.morimekta.providence.serializer.JsonSerializer
- net.morimekta.providence - package net.morimekta.providence
- net.morimekta.providence.descriptor - package net.morimekta.providence.descriptor
- net.morimekta.providence.mio - package net.morimekta.providence.mio
- net.morimekta.providence.mio.rolling - package net.morimekta.providence.mio.rolling
- net.morimekta.providence.serializer - package net.morimekta.providence.serializer
- net.morimekta.providence.serializer.binary - package net.morimekta.providence.serializer.binary
- net.morimekta.providence.serializer.json - package net.morimekta.providence.serializer.json
- net.morimekta.providence.serializer.pretty - package net.morimekta.providence.serializer.pretty
- net.morimekta.providence.streams - package net.morimekta.providence.streams
- net.morimekta.providence.util - package net.morimekta.providence.util
- next() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Returns the next token on the stream, or null if there are no more JSON tokens on the stream.
- nextSymbol() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
- NONE - net.morimekta.providence.util.ThriftAnnotation
- NS_IN_MILLIS - Static variable in interface net.morimekta.providence.util.ServiceCallInstrumentation
-
Handy constant for calculating MS duration.
O
- onComplete(double, PServiceCall, PServiceCall) - Method in interface net.morimekta.providence.util.ServiceCallInstrumentation
-
After each service call this method is called with the duration, call and response objects.
- ONEWAY - net.morimekta.providence.PServiceCallType
-
A one-way call is a request that does not expect a response at all.
- onTransportException(Exception, double, PServiceCall, PServiceCall) - Method in interface net.morimekta.providence.util.ServiceCallInstrumentation
-
Called when the service call failed in the transport layer itself with something not related to the actual service call.
- OPTIONAL - net.morimekta.providence.descriptor.PRequirement
- optionalData() - Method in class net.morimekta.providence.util.Any
-
The actual content binary data.
- optionalId() - Method in exception net.morimekta.providence.PApplicationException
-
The application exception type.
- optionalInMessage(PMessage, PField...) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
Get a field value from a message with optional chaining.
- optionalMediaType() - Method in class net.morimekta.providence.util.Any
-
The media type used for encoding.
- optionalMessage() - Method in exception net.morimekta.providence.PApplicationException
-
Exception message.
- optionalText() - Method in class net.morimekta.providence.util.Any
-
Optional string encoded content for non-binary media types.
- ORDERED - net.morimekta.providence.util.ThriftContainer
- OrderedBuilder() - Constructor for class net.morimekta.providence.descriptor.PMap.OrderedBuilder
- OrderedBuilder() - Constructor for class net.morimekta.providence.descriptor.PSet.OrderedBuilder
- OrderedBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PMap.OrderedBuilder
- OrderedBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PSet.OrderedBuilder
- orderedProvider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
- orderedProvider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
- origGetLocalizedMessage() - Method in exception net.morimekta.providence.PApplicationException
- origGetLocalizedMessage() - Method in interface net.morimekta.providence.PException
-
Get the original message from the actual exception.
- origGetMessage() - Method in exception net.morimekta.providence.PApplicationException
- origGetMessage() - Method in interface net.morimekta.providence.PException
-
Get the original message from the actual exception.
P
- PApplicationException - Exception in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and other server-side service call issues.
- PApplicationException(String, PApplicationExceptionType) - Constructor for exception net.morimekta.providence.PApplicationException
- PApplicationException._Builder - Class in net.morimekta.providence
-
Base exception thrown on non-declared exceptions on a service call, and other server-side service call issues.
- PApplicationException._Field - Enum in net.morimekta.providence
- PApplicationExceptionType - Enum in net.morimekta.providence
-
General type of exception on the application level.
- PApplicationExceptionType._Builder - Class in net.morimekta.providence
- parseDebugString(String, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.util.ProvidenceHelper
-
Parses a pretty formatted string, and makes exceptions unchecked.
- path(Path, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- PBuilder<T> - Interface in net.morimekta.providence
-
Base class for all builders.
- PClient - Class in net.morimekta.providence
-
Base class for handling a call request from a synchronous client.
- PClient() - Constructor for class net.morimekta.providence.PClient
-
Create a base client.
- PContainer<Container> - Class in net.morimekta.providence.descriptor
-
Generic descriptor for a container type.
- PContainer(PDescriptorProvider) - Constructor for class net.morimekta.providence.descriptor.PContainer
- PContainerProvider<Container,Descriptor extends PContainer<Container>> - Class in net.morimekta.providence.descriptor
-
Provider for a container type.
- PContainerProvider(Descriptor) - Constructor for class net.morimekta.providence.descriptor.PContainerProvider
- PDeclaredDescriptor<T> - Class in net.morimekta.providence.descriptor
-
Descriptor for a declared type.
- PDeclaredDescriptor(String, String) - Constructor for class net.morimekta.providence.descriptor.PDeclaredDescriptor
- PDefaultValueProvider<V> - Class in net.morimekta.providence.descriptor
-
Provider for default value.
- PDefaultValueProvider(V) - Constructor for class net.morimekta.providence.descriptor.PDefaultValueProvider
- PDescriptor - Interface in net.morimekta.providence.descriptor
-
Descriptor interface for value type V.
- PDescriptorProvider - Interface in net.morimekta.providence.descriptor
-
Base descriptor provider interface.
- peek() - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Return the next token or throw an exception.
- peek(String) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Return the next token or throw an exception.
- PEnumBuilder<T> - Class in net.morimekta.providence
-
A builder-helper for getting a correct enum entity from value or name.
- PEnumBuilder() - Constructor for class net.morimekta.providence.PEnumBuilder
- PEnumDescriptor<T extends PEnumValue<T>> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift enum.
- PEnumDescriptor(String, String, Supplier<PEnumBuilder<T>>) - Constructor for class net.morimekta.providence.descriptor.PEnumDescriptor
- PEnumDescriptorProvider<E extends PEnumValue<E>> - Class in net.morimekta.providence.descriptor
-
Provider for enum type descriptor.
- PEnumDescriptorProvider(PEnumDescriptor<E>) - Constructor for class net.morimekta.providence.descriptor.PEnumDescriptorProvider
- PEnumValue<T> - Interface in net.morimekta.providence
-
Base interface for enum values.
- PException - Interface in net.morimekta.providence
-
Base class for exception type struct classes to access exception methods that may be hidden by actual fields.
- PExceptionDescriptor<Exception extends PMessage<Exception,Field>,Field extends PField> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift exception.
- PExceptionDescriptor(String, String, Supplier<PMessageBuilder<Exception, Field>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PExceptionDescriptor
- PExceptionDescriptorProvider<Exception extends PMessage<Exception,Field>,Field extends PField> - Class in net.morimekta.providence.descriptor
-
Provider for exception descriptor.
- PExceptionDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PExceptionDescriptorProvider
- PField - Interface in net.morimekta.providence.descriptor
-
Field descriptor.
- PList<Item> - Class in net.morimekta.providence.descriptor
-
Descriptor for a list with item type.
- PList(PDescriptorProvider, IntFunction<PList.Builder<Item>>) - Constructor for class net.morimekta.providence.descriptor.PList
- PList.Builder<I> - Interface in net.morimekta.providence.descriptor
-
Container builder used in serialization.
- PList.DefaultBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableList.
- PMap<Key,Value> - Class in net.morimekta.providence.descriptor
-
Descriptor for a map with key and item type.
- PMap(PDescriptorProvider, PDescriptorProvider, IntFunction<PMap.Builder<Key, Value>>) - Constructor for class net.morimekta.providence.descriptor.PMap
- PMap.Builder<K,V> - Interface in net.morimekta.providence.descriptor
-
Container builder to be used in serialization.
- PMap.DefaultBuilder<K,V> - Class in net.morimekta.providence.descriptor
-
Default map builder returning an ImmutableMap.
- PMap.OrderedBuilder<K,V> - Class in net.morimekta.providence.descriptor
-
Ordered map builder returning an ImmutableMap.
- PMap.SortedBuilder<K extends java.lang.Comparable,V> - Class in net.morimekta.providence.descriptor
-
Sorted map builder returning an ImmutableSortedMap.
- PMessage<Message extends PMessage<Message,Field>,Field extends PField> - Interface in net.morimekta.providence
-
Base class for all messages.
- PMessageBuilder<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence
-
Base class for message builders.
- PMessageBuilder() - Constructor for class net.morimekta.providence.PMessageBuilder
- PMessageDescriptor<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Descriptor base class for all messages.
- PMessageDescriptor(String, String, Supplier<PMessageBuilder<T, F>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PMessageDescriptor
- PMessageDescriptorProvider<V extends PMessage<V,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Provides message descriptors.
- PMessageDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PMessageDescriptorProvider
- PMessageVariant - Enum in net.morimekta.providence
-
The definition of a thrift structure.
- PPrimitive - Class in net.morimekta.providence.descriptor
-
Descriptors for primitive types.
- PPrimitiveProvider - Class in net.morimekta.providence.descriptor
-
Provider of a primitive descriptor.
- PPrimitiveProvider(PPrimitive) - Constructor for class net.morimekta.providence.descriptor.PPrimitiveProvider
- PProcessor - Interface in net.morimekta.providence
-
Service processor is an extension to the service call handler that can provide it's own service definition.
- PRequirement - Enum in net.morimekta.providence.descriptor
-
Field requirement designation.
- presenceRequired - Variable in enum net.morimekta.providence.descriptor.PRequirement
- presentFields() - Method in class net.morimekta.providence.PMessageBuilder
-
Get a Collection of F with fields set on the builder.
- pretty() - Method in class net.morimekta.providence.serializer.JsonSerializer
- PrettySerializer - Class in net.morimekta.providence.serializer
-
Pretty printer that can print message content for easily reading and debugging.
- PrettySerializer() - Constructor for class net.morimekta.providence.serializer.PrettySerializer
- PrettySerializer(boolean) - Constructor for class net.morimekta.providence.serializer.PrettySerializer
- PROTOCOL_ERROR - net.morimekta.providence.PApplicationExceptionType
-
Serialization or deserialization failed or the deserialized content was not valid for the requested message.
- ProvidenceHelper - Class in net.morimekta.providence.util
-
Convenience methods for handling providence messages.
- provider() - Method in class net.morimekta.providence.descriptor.PPrimitive
-
Get the descriptor provider for the primitive.
- provider() - Static method in exception net.morimekta.providence.PApplicationException
- provider() - Static method in enum net.morimekta.providence.PApplicationExceptionType
- provider() - Static method in enum net.morimekta.providence.PServiceCallType
- provider() - Static method in class net.morimekta.providence.util.Any
- provider() - Static method in class net.morimekta.providence.util.Empty
- provider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PList
- provider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
- provider(PDescriptorProvider, IntFunction<PList.Builder<I>>) - Static method in class net.morimekta.providence.descriptor.PList
- provider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
- PService - Class in net.morimekta.providence.descriptor
-
Descriptor for a complete service.
- PService(String, String, PServiceProvider, Collection<? extends PServiceMethod>) - Constructor for class net.morimekta.providence.descriptor.PService
- PService(String, String, PServiceProvider, PServiceMethod[]) - Constructor for class net.morimekta.providence.descriptor.PService
- PServiceCall<Message extends PMessage<Message,Field>,Field extends PField> - Class in net.morimekta.providence
-
Enclosed call to a service method.
- PServiceCall(String, PServiceCallType, int, Message) - Constructor for class net.morimekta.providence.PServiceCall
- PServiceCallHandler - Interface in net.morimekta.providence
-
Interface for handling a call request from a synchronous client.
- PServiceCallType - Enum in net.morimekta.providence
-
The service call type is a base distinction of what the message means, and lets the server or client select the proper message to be serialized or deserialized from the service method descriptor.
- PServiceCallType._Builder - Class in net.morimekta.providence
- PServiceMethod - Interface in net.morimekta.providence.descriptor
-
Descriptor for a single service method.
- PServiceProvider - Interface in net.morimekta.providence.descriptor
-
Provide a service descriptor
- PSet<Item> - Class in net.morimekta.providence.descriptor
-
Descriptor for a set with item type.
- PSet(PDescriptorProvider, IntFunction<PSet.Builder<Item>>) - Constructor for class net.morimekta.providence.descriptor.PSet
- PSet.Builder<I> - Interface in net.morimekta.providence.descriptor
-
Container builder used in serialization.
- PSet.DefaultBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSet.
- PSet.OrderedBuilder<I> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSet.
- PSet.SortedBuilder<I extends java.lang.Comparable<I>> - Class in net.morimekta.providence.descriptor
-
Default builder returning an ImmutableSortedSet.
- PStructDescriptor<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift structure.
- PStructDescriptor(String, String, Supplier<PMessageBuilder<T, F>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PStructDescriptor
- PStructDescriptorProvider<V extends PMessage<V,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Provider of struct descriptors.
- PStructDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PStructDescriptorProvider
- PType - Enum in net.morimekta.providence
-
Value type enum.
- PUnion<Union extends PUnion<Union,Field>,Field extends PField> - Interface in net.morimekta.providence
-
Base class for all unions.
- PUnionDescriptor<T extends PMessage<T,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
The definition of a thrift union.
- PUnionDescriptor(String, String, Supplier<PMessageBuilder<T, F>>, boolean) - Constructor for class net.morimekta.providence.descriptor.PUnionDescriptor
- PUnionDescriptorProvider<V extends PMessage<V,F>,F extends PField> - Class in net.morimekta.providence.descriptor
-
Provider of union descriptor.
- PUnionDescriptorProvider() - Constructor for class net.morimekta.providence.descriptor.PUnionDescriptorProvider
- put(K, V) - Method in interface net.morimekta.providence.descriptor.PMap.Builder
- put(K, V) - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- put(K, V) - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
- putAll(Map<K, V>) - Method in interface net.morimekta.providence.descriptor.PMap.Builder
- putAll(Map<K, V>) - Method in class net.morimekta.providence.descriptor.PMap.DefaultBuilder
- putAll(Map<K, V>) - Method in class net.morimekta.providence.descriptor.PMap.SortedBuilder
- PValue<T> - Interface in net.morimekta.providence
-
A specific value of a described type.
- PValueProvider<V> - Interface in net.morimekta.providence.descriptor
-
Simple provider of values.
Q
- qualifiedNameFromIdAndContext(String, String) - Static method in class net.morimekta.providence.util.BaseTypeRegistry
-
Make a qualified type name from a name identifier string and the program context.
- QueuedMessageWriter - Class in net.morimekta.providence.mio
-
A queued message writer that takes in messages onto a queue, and let a single thread handle all the writes to the contained writer.
- QueuedMessageWriter(MessageWriter) - Constructor for class net.morimekta.providence.mio.QueuedMessageWriter
-
Create a queued message writer.
- QueuedMessageWriter(MessageWriter, ExecutorService) - Constructor for class net.morimekta.providence.mio.QueuedMessageWriter
-
Create a queued message writer using the given executor service.
- QueuedMessageWriter(MessageWriter, ExecutorService, int) - Constructor for class net.morimekta.providence.mio.QueuedMessageWriter
-
Create a queued message writer using the given executor service.
R
- read(PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.mio.FileMessageReader
- read(PMessageDescriptor<Message, Field>) - Method in class net.morimekta.providence.mio.IOMessageReader
- read(PMessageDescriptor<Message, Field>) - Method in interface net.morimekta.providence.mio.MessageReader
-
Read a message from the stream.
- read(PService) - Method in class net.morimekta.providence.mio.FileMessageReader
- read(PService) - Method in class net.morimekta.providence.mio.IOMessageReader
- read(PService) - Method in interface net.morimekta.providence.mio.MessageReader
-
Read a service call from the stream.
- readBinary(char) - Method in class net.morimekta.providence.serializer.pretty.Tokenizer
-
Read the 'content' of encoded binary.
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.PApplicationException._Builder
- readBinary(BigEndianBinaryReader, boolean) - Method in interface net.morimekta.providence.serializer.binary.BinaryReader
-
Read the binary content into the current builder.
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.util.Any._Builder
- readBinary(BigEndianBinaryReader, boolean) - Method in class net.morimekta.providence.util.Empty._Builder
- readFieldValue(BigEndianBinaryReader, BinaryFormatUtils.FieldInfo, PDescriptor, boolean) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Read a field value from stream.
- readMessage(BigEndianBinaryReader, PMessageDescriptor<Message, Field>, boolean) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Read message from reader.
- register(PDeclaredDescriptor<T>) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
- register(PDeclaredDescriptor<T>) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register a declared type.
- register(PService) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
- register(PService) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Services are not handled as "declared types", so they need to be registered separately.
- register(Serializer, String...) - Method in class net.morimekta.providence.serializer.BaseSerializerProvider
-
Register the serializer with a given set of media types.
- registerConstant(String, String, Object) - Method in class net.morimekta.providence.util.SimpleTypeRegistry
- registerConstant(String, String, Object) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register a constant value.
- registerRecursively(PDeclaredDescriptor<T>) - Method in class net.morimekta.providence.util.BaseTypeRegistry
- registerRecursively(PDeclaredDescriptor<T>) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register a declared type recursively.
- registerRecursively(PService) - Method in class net.morimekta.providence.util.BaseTypeRegistry
- registerRecursively(PService) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Register the service recursively.
- registerTypedef(String, String, String) - Method in class net.morimekta.providence.util.BaseTypeRegistry
- registerTypedef(String, String, String) - Method in interface net.morimekta.providence.util.WritableTypeRegistry
-
Registers a typedef definition.
- REPLY - net.morimekta.providence.PServiceCallType
-
Normal method call reply.
- REQUIRED - net.morimekta.providence.descriptor.PRequirement
- resource(String, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a file containing entries of a given type.
- RollingFileMessageWriter - Class in net.morimekta.providence.mio
-
A simple rolling file message writer in the same manner that logging often does, e.g. the 'RollingFileAppender' from lockback.
- RollingFileMessageWriter(File, Serializer, String, RollingFileMessageWriter.RollingPolicy) - Constructor for class net.morimekta.providence.mio.RollingFileMessageWriter
-
Create a rolling file message writer without a cleanup policy.
- RollingFileMessageWriter(File, Serializer, String, RollingFileMessageWriter.RollingPolicy, RollingFileMessageWriter.CleanupPolicy) - Constructor for class net.morimekta.providence.mio.RollingFileMessageWriter
-
Create a rolling file message writer.
- RollingFileMessageWriter.CleanupPolicy - Interface in net.morimekta.providence.mio
-
Interface for cleanup policy implementations.
- RollingFileMessageWriter.CurrentFileUpdater - Interface in net.morimekta.providence.mio
-
Interface for calling back to the rolling file message writen when a file roll is supposed to happen.
- RollingFileMessageWriter.RollingPolicy - Interface in net.morimekta.providence.mio
-
Interface for rolling policy implementations.
S
- separator() - Method in class net.morimekta.providence.mio.FileMessageWriter
- separator() - Method in class net.morimekta.providence.mio.IOMessageWriter
- separator() - Method in interface net.morimekta.providence.mio.MessageWriter
-
Write an entry separator to the writer.
- separator() - Method in class net.morimekta.providence.mio.QueuedMessageWriter
- separator() - Method in class net.morimekta.providence.mio.RollingFileMessageWriter
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.BinarySerializer
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.PrettySerializer
- serialize(OutputStream, Message) - Method in class net.morimekta.providence.serializer.Serializer
-
Serialize a message.
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.BinarySerializer
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.FastBinarySerializer
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.PrettySerializer
- serialize(OutputStream, PServiceCall<Message, Field>) - Method in class net.morimekta.providence.serializer.Serializer
-
Serialize a service call.
- serialize(OutputStream, PServiceCall<T, F>) - Method in class net.morimekta.providence.serializer.JsonSerializer
- serialize(OutputStream, T) - Method in class net.morimekta.providence.serializer.JsonSerializer
- serialize(PrintWriter, T) - Method in class net.morimekta.providence.serializer.JsonSerializer
- Serializer - Class in net.morimekta.providence.serializer
-
Thrift serializers are stateless injectable implementation classes that transforms messages to binary stream (serializes), or binary stream to messages (deserializes).
- Serializer() - Constructor for class net.morimekta.providence.serializer.Serializer
- SerializerException - Exception in net.morimekta.providence.serializer
-
Exception on serialization or deserialization.
- SerializerException(String, Object...) - Constructor for exception net.morimekta.providence.serializer.SerializerException
- SerializerException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.serializer.SerializerException
- SerializerException(SerializerException) - Constructor for exception net.morimekta.providence.serializer.SerializerException
- SerializerProvider - Interface in net.morimekta.providence.serializer
-
Provider of serializers based on a string media type.
- ServiceCallInstrumentation - Interface in net.morimekta.providence.util
-
Interface handling the instrumentation of service calls.
- set(int, Object) - Method in class net.morimekta.providence.PApplicationException._Builder
- set(int, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Set the provided field value.
- set(int, Object) - Method in class net.morimekta.providence.util.Any._Builder
- set(int, Object) - Method in class net.morimekta.providence.util.Empty._Builder
- set(F, Object) - Method in class net.morimekta.providence.PMessageBuilder
-
Set the provided field value.
- SET - net.morimekta.providence.PType
- SET - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- setById(int) - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- setById(int) - Method in class net.morimekta.providence.PEnumBuilder
-
Set the enum entity from integer value as it was defined in the thrift IDL.
- setById(int) - Method in class net.morimekta.providence.PServiceCallType._Builder
- setByName(String) - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- setByName(String) - Method in class net.morimekta.providence.PEnumBuilder
-
Set the enum entity from name as it was written in the thrift IDL.
- setByName(String) - Method in class net.morimekta.providence.PServiceCallType._Builder
- setCallType(PServiceCallType) - Method in exception net.morimekta.providence.serializer.SerializerException
- setData(Binary) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the
data
field value. - setExceptionType(PApplicationExceptionType) - Method in exception net.morimekta.providence.serializer.SerializerException
- setFile(String) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- setId(PApplicationExceptionType) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Set the
id
field value. - setLength(int) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- setLine(String) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- setLineNo(int) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- setLinePos(int) - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- setMediaType(String) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the
media_type
field value. - setMessage(String) - Method in class net.morimekta.providence.PApplicationException._Builder
-
Set the
message
field value. - setMethodName(String) - Method in exception net.morimekta.providence.serializer.SerializerException
- setSequenceNo(int) - Method in exception net.morimekta.providence.serializer.SerializerException
- setText(String) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the
text
field value. - setType(String) - Method in class net.morimekta.providence.util.Any._Builder
-
Set the
type
field value. - SimpleTypeRegistry - Class in net.morimekta.providence.util
-
Registry for declared types referenced in a flat space program context.
- SimpleTypeRegistry() - Constructor for class net.morimekta.providence.util.SimpleTypeRegistry
- size() - Method in class net.morimekta.providence.mio.QueuedMessageWriter
- SizeBasedRollingPolicy - Class in net.morimekta.providence.mio.rolling
-
A rolling policy that moves over to a new file whenever the current file reaches a threshold size.
- SizeBasedRollingPolicy(File, long, String) - Constructor for class net.morimekta.providence.mio.rolling.SizeBasedRollingPolicy
- sleep(long) - Method in class net.morimekta.providence.mio.QueuedMessageWriter
- SORTED - net.morimekta.providence.util.ThriftContainer
- SortedBuilder() - Constructor for class net.morimekta.providence.descriptor.PMap.SortedBuilder
- SortedBuilder() - Constructor for class net.morimekta.providence.descriptor.PSet.SortedBuilder
- SortedBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PMap.SortedBuilder
- SortedBuilder(int) - Constructor for class net.morimekta.providence.descriptor.PSet.SortedBuilder
- sortedProvider(PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PSet
- sortedProvider(PDescriptorProvider, PDescriptorProvider) - Static method in class net.morimekta.providence.descriptor.PMap
- STOP - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- stream(InputStream, Serializer, PMessageDescriptor<Message, Field>) - Static method in class net.morimekta.providence.streams.MessageStreams
-
Read a input stream containing entries of a given type.
- strEquals(String) - Method in class net.morimekta.providence.serializer.pretty.Token
- string() - Method in class net.morimekta.providence.serializer.PrettySerializer
-
Make a PrettySerializer that generates content similar to the PMessage toString methods.
- STRING - net.morimekta.providence.PType
- STRING - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- STRING - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
- STRUCT - net.morimekta.providence.PMessageVariant
- STRUCT - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
T
- tag - Variable in enum net.morimekta.providence.util.ThriftAnnotation
- TEXT - net.morimekta.providence.util.Any._Field
- ThriftAnnotation - Enum in net.morimekta.providence.util
-
Enum containing known "general" thrift annotations.
- ThriftContainer - Enum in net.morimekta.providence.util
-
Enum containing the values of the
container = "..."
- TimeBasedCleanupPolicy - Class in net.morimekta.providence.mio.rolling
-
A cleanup policy that removes files older than a certain date.
- TimeBasedCleanupPolicy(int, TimeUnit, String) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedCleanupPolicy
-
Create a time based cleanup policy using the system clock for parsing timestampts.
- TimeBasedCleanupPolicy(int, TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedCleanupPolicy
-
Create a time based cleanup policy.
- TimeBasedRollingPolicy - Class in net.morimekta.providence.mio.rolling
-
A rolling policy that writes messages into files for certain time periods based on a date based file pattern and a time resolution.
- TimeBasedRollingPolicy(int, TimeUnit, String) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
- TimeBasedRollingPolicy(int, TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
- TimeBasedRollingPolicy(TimeUnit, String) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
- TimeBasedRollingPolicy(TimeUnit, String, Clock) - Constructor for class net.morimekta.providence.mio.rolling.TimeBasedRollingPolicy
- toFile(File, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
write stream of messages to file.
- Token - Class in net.morimekta.providence.serializer.pretty
-
Pretty token.
- Token(char[], int, int, int, int) - Constructor for class net.morimekta.providence.serializer.pretty.Token
- Tokenizer - Class in net.morimekta.providence.serializer.pretty
-
Simple tokenizer for the pretty serializer that strips away comments based on the "#" (shell) comment character.
- Tokenizer(InputStream) - Constructor for class net.morimekta.providence.serializer.pretty.Tokenizer
-
Create a JSON tokenizer that reads from the input steam.
- Tokenizer(InputStream, int) - Constructor for class net.morimekta.providence.serializer.pretty.Tokenizer
-
Create a JSON tokenizer that reads from the input steam.
- Tokenizer(Reader, int, boolean) - Constructor for class net.morimekta.providence.serializer.pretty.Tokenizer
-
Create a tokenizer that will read everything from the input stream and handle it as a single multi-line buffer.
- Tokenizer.TokenValidator - Interface in net.morimekta.providence.serializer.pretty
- TokenizerException - Exception in net.morimekta.providence.serializer.pretty
-
Exception when totalizing fails to make token or read the expected content.
- TokenizerException(String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
- TokenizerException(Throwable, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
- TokenizerException(TokenizerException, File) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
- TokenizerException(Token, String, Object...) - Constructor for exception net.morimekta.providence.serializer.pretty.TokenizerException
- toPath(Path, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Write stream of messages to file described by path.
- toStream(OutputStream, Serializer) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Serialize stream of messages into stream.
- toStream(OutputStream, Serializer, boolean) - Static method in class net.morimekta.providence.streams.MessageCollectors
-
Serialize stream of messages into stream.
- toString() - Method in class net.morimekta.providence.descriptor.PContainer
- toString() - Method in class net.morimekta.providence.descriptor.PDeclaredDescriptor
- toString() - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- toString() - Method in class net.morimekta.providence.descriptor.PPrimitive
- toString() - Method in enum net.morimekta.providence.PApplicationException._Field
- toString() - Method in exception net.morimekta.providence.PApplicationException
- toString() - Method in enum net.morimekta.providence.PMessageVariant
- toString() - Method in class net.morimekta.providence.PServiceCall
- toString() - Method in enum net.morimekta.providence.PType
- toString() - Method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils.FieldInfo
- toString() - Method in exception net.morimekta.providence.serializer.JsonSerializerException
- toString() - Method in class net.morimekta.providence.serializer.pretty.Token
- toString() - Method in exception net.morimekta.providence.serializer.pretty.TokenizerException
- toString() - Method in class net.morimekta.providence.serializer.Serializer
- toString() - Method in exception net.morimekta.providence.serializer.SerializerException
- toString() - Method in enum net.morimekta.providence.util.Any._Field
- toString() - Method in class net.morimekta.providence.util.Any
- toString() - Method in enum net.morimekta.providence.util.Empty._Field
- toString() - Method in class net.morimekta.providence.util.Empty
- tryAdvance(Consumer<? super Message>) - Method in class net.morimekta.providence.streams.MessageSpliterator
- trySplit() - Method in class net.morimekta.providence.streams.MessageSpliterator
-
Normally we cannot split the stream.
- TYPE - net.morimekta.providence.util.Any._Field
- TypeRegistry - Interface in net.morimekta.providence.util
-
Basic type registry used in managing content.
U
- UNION - net.morimekta.providence.PMessageVariant
- unionField() - Method in interface net.morimekta.providence.PUnion
-
The user should be able to assume that this value never is null.
- unionFieldIsSet() - Method in interface net.morimekta.providence.PUnion
- UNKNOWN - net.morimekta.providence.PApplicationExceptionType
-
Unknown or unidentified exception, should usually not be uased.
- UNKNOWN_METHOD - net.morimekta.providence.PApplicationExceptionType
-
There is no such method defined on the service.
- UNSUPPORTED_CLIENT_TYPE - net.morimekta.providence.PApplicationExceptionType
-
NOTE: This value is apparently not in use in thrift.
- unwrapMessage(PMessageDescriptor<M, F>) - Method in class net.morimekta.providence.util.Any
-
Unwrap a message from this wrapper message.
- unwrapMessage(PMessageDescriptor<M, F>, SerializerProvider) - Method in class net.morimekta.providence.util.Any
-
Unwrap a message from this wrapper message.
- updateCurrentFile(String) - Method in interface net.morimekta.providence.mio.RollingFileMessageWriter.CurrentFileUpdater
V
- valid() - Method in class net.morimekta.providence.PApplicationException._Builder
- valid() - Method in class net.morimekta.providence.PApplicationExceptionType._Builder
- valid() - Method in class net.morimekta.providence.PEnumBuilder
-
Check if the enum builder has been given a valid value.
- valid() - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if the current set data is enough to make a valid struct.
- valid() - Method in class net.morimekta.providence.PServiceCallType._Builder
- valid() - Method in class net.morimekta.providence.util.Any._Builder
- valid() - Method in class net.morimekta.providence.util.Empty._Builder
- validate() - Method in class net.morimekta.providence.PApplicationException._Builder
- validate() - Method in class net.morimekta.providence.PMessageBuilder
-
Checks if the current set data is enough to make a valid struct.
- validate() - Method in class net.morimekta.providence.util.Any._Builder
- validate() - Method in class net.morimekta.providence.util.Empty._Builder
- validate(Token) - Method in interface net.morimekta.providence.serializer.pretty.Tokenizer.TokenValidator
- valueForId(int) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- valueForId(int) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Get a value based in its ID
- valueForId(int) - Static method in enum net.morimekta.providence.PServiceCallType
-
Get a value based in its ID
- valueForName(String) - Method in class net.morimekta.providence.descriptor.PEnumDescriptor
- valueForName(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Get a value based in its name
- valueForName(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Get a value based in its name
- valueOf(String) - Static method in enum net.morimekta.providence.descriptor.PRequirement
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PApplicationException._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PMessageVariant
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PServiceCallType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.PType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.Any._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.Empty._Field
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.ThriftAnnotation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.morimekta.providence.util.ThriftContainer
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.morimekta.providence.descriptor.PRequirement
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PApplicationException._Field
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PApplicationExceptionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PMessageVariant
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PServiceCallType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.PType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.Any._Field
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.Empty._Field
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.ThriftAnnotation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.morimekta.providence.util.ThriftContainer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VOID - net.morimekta.providence.PType
- VOID - Static variable in class net.morimekta.providence.descriptor.PPrimitive
- VOID - Static variable in class net.morimekta.providence.serializer.binary.BinaryType
W
- withNamedEnums() - Method in class net.morimekta.providence.serializer.JsonSerializer
- withNamedFields() - Method in class net.morimekta.providence.serializer.JsonSerializer
- wrapMessage(M) - Static method in class net.morimekta.providence.util.Any
-
Wrap a message into an
Any
wrapper message. - wrapMessage(M, Serializer) - Static method in class net.morimekta.providence.util.Any
-
Wrap a message into an
Any
wrapper message. - wrappedTypeIs(PMessageDescriptor<M, F>) - Method in class net.morimekta.providence.util.Any
-
Check the wrapped message type against the provided message type descriptor.
- WritableTypeRegistry - Interface in net.morimekta.providence.util
-
Registry for declared types referenced in a specific program context.
- write(Message) - Method in class net.morimekta.providence.mio.FileMessageWriter
- write(Message) - Method in class net.morimekta.providence.mio.IOMessageWriter
- write(Message) - Method in interface net.morimekta.providence.mio.MessageWriter
-
Write a providence message to the writer.
- write(Message) - Method in class net.morimekta.providence.mio.QueuedMessageWriter
- write(Message) - Method in class net.morimekta.providence.mio.RollingFileMessageWriter
- write(PServiceCall<Message, Field>) - Method in class net.morimekta.providence.mio.FileMessageWriter
- write(PServiceCall<Message, Field>) - Method in class net.morimekta.providence.mio.IOMessageWriter
- write(PServiceCall<Message, Field>) - Method in interface net.morimekta.providence.mio.MessageWriter
-
Write a providence service call to the writer.
- write(PServiceCall<Message, Field>) - Method in class net.morimekta.providence.mio.QueuedMessageWriter
- write(PServiceCall<Message, Field>) - Method in class net.morimekta.providence.mio.RollingFileMessageWriter
- writeBinary(BigEndianBinaryWriter) - Method in exception net.morimekta.providence.PApplicationException
- writeBinary(BigEndianBinaryWriter) - Method in interface net.morimekta.providence.serializer.binary.BinaryWriter
-
Write the current message to the binary writer.
- writeBinary(BigEndianBinaryWriter) - Method in class net.morimekta.providence.util.Any
- writeBinary(BigEndianBinaryWriter) - Method in class net.morimekta.providence.util.Empty
- writeMessage(BigEndianBinaryWriter, Message) - Static method in class net.morimekta.providence.serializer.binary.BinaryFormatUtils
-
Write message to writer.
- WRONG_METHOD_NAME - net.morimekta.providence.PApplicationExceptionType
-
The response came back with a non-matching method name.
_
- _Builder() - Constructor for class net.morimekta.providence.PApplicationException._Builder
-
Make a pservice.PApplicationException builder instance.
- _Builder() - Constructor for class net.morimekta.providence.PApplicationExceptionType._Builder
- _Builder() - Constructor for class net.morimekta.providence.PServiceCallType._Builder
- _Builder() - Constructor for class net.morimekta.providence.util.Any._Builder
-
Make a putil.Any builder instance.
- _Builder() - Constructor for class net.morimekta.providence.util.Empty._Builder
-
Make a putil.Empty builder instance.
- _Builder(PApplicationException) - Constructor for class net.morimekta.providence.PApplicationException._Builder
-
Make a mutating builder off a base pservice.PApplicationException.
- _Builder(Any) - Constructor for class net.morimekta.providence.util.Any._Builder
-
Make a mutating builder off a base putil.Any.
- _Builder(Empty) - Constructor for class net.morimekta.providence.util.Empty._Builder
-
Make a mutating builder off a base putil.Empty.
All Classes All Packages