Package com.caplin.motif.utility
Class JsonUtils
- java.lang.Object
-
- com.caplin.motif.utility.JsonUtils
-
public final class JsonUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <S,T extends SubjectInfo>
voidcreateJsonPublisher(com.caplin.datasource.DataSource dataSource, com.caplin.datasource.namespace.Namespace namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider)
static <S,T extends SubjectInfo>
voidcreateJsonPublisher(com.caplin.datasource.DataSource dataSource, com.caplin.datasource.namespace.Namespace namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider, java.lang.String metricNamePrefix)
static <S,T extends SubjectInfo>
voidcreateJsonPublisher(com.caplin.datasource.DataSource dataSource, java.lang.String namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider)
static void
setObjectMapper(com.caplin.datasource.DataSource dataSource)
-
-
-
Method Detail
-
setObjectMapper
public static void setObjectMapper(com.caplin.datasource.DataSource dataSource)
-
createJsonPublisher
public static <S,T extends SubjectInfo> void createJsonPublisher(com.caplin.datasource.DataSource dataSource, java.lang.String namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider)
-
createJsonPublisher
public static <S,T extends SubjectInfo> void createJsonPublisher(com.caplin.datasource.DataSource dataSource, com.caplin.datasource.namespace.Namespace namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider)
-
createJsonPublisher
public static <S,T extends SubjectInfo> void createJsonPublisher(com.caplin.datasource.DataSource dataSource, com.caplin.datasource.namespace.Namespace namespace, SubjectParser<T> subjectParser, CachedObjectProvider<S,T> provider, java.lang.String metricNamePrefix)
-
-