org.infinispan.counter.impl.persistence.PersistenceContextInitializerImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-clustered-counter Show documentation
Show all versions of infinispan-clustered-counter Show documentation
Infinispan Clustered Counter module
/*
Generated by org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor
for class org.infinispan.counter.impl.persistence.PersistenceContextInitializer
annotated with @org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(syntax=PROTO2, dependsOn={org.infinispan.marshall.persistence.impl.PersistenceContextInitializer.class, org.infinispan.commons.marshall.PersistenceContextInitializer.class}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.counter.impl.entries.CounterValue.class, org.infinispan.counter.impl.strong.StrongCounterKey.class, org.infinispan.counter.impl.weak.WeakCounterKey.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.persistence.counters", schemaFilePath="proto/generated", schemaFileName="persistence.counters.proto", className="")
*/
package org.infinispan.counter.impl.persistence;
/**
* WARNING: Generated code! Do not edit!
*/
@javax.annotation.processing.Generated(
value = "org.infinispan.protostream.annotations.impl.processor.AutoProtoSchemaBuilderAnnotationProcessor",
comments = "Please do not edit this file!"
)
@org.infinispan.protostream.annotations.impl.processor.OriginatingClasses({
org.infinispan.counter.impl.entries.CounterValue.class,
org.infinispan.counter.impl.strong.StrongCounterKey.class,
org.infinispan.counter.impl.weak.WeakCounterKey.class
})
/*@@org.infinispan.protostream.annotations.AutoProtoSchemaBuilder(syntax=PROTO2, dependsOn={org.infinispan.marshall.persistence.impl.PersistenceContextInitializer.class, org.infinispan.commons.marshall.PersistenceContextInitializer.class}, marshallersOnly=false, service=false, autoImportClasses=false, excludeClasses={}, includeClasses={org.infinispan.counter.impl.entries.CounterValue.class, org.infinispan.counter.impl.strong.StrongCounterKey.class, org.infinispan.counter.impl.weak.WeakCounterKey.class}, basePackages={}, value={}, schemaPackageName="org.infinispan.persistence.counters", schemaFilePath="proto/generated", schemaFileName="persistence.counters.proto", className="")(
className = "PersistenceContextInitializerImpl",
schemaFileName = "persistence.counters.proto",
schemaFilePath = "proto/generated",
schemaPackageName = "org.infinispan.persistence.counters",
dependsOn = {
org.infinispan.marshall.persistence.impl.PersistenceContextInitializerImpl.class,
org.infinispan.commons.marshall.PersistenceContextInitializerImpl.class
},
service = false,
marshallersOnly = false,
autoImportClasses = false,
includeClasses = {
org.infinispan.counter.impl.entries.CounterValue.class,
org.infinispan.counter.impl.strong.StrongCounterKey.class,
org.infinispan.counter.impl.weak.WeakCounterKey.class
}
)*/
@SuppressWarnings("all")
public class PersistenceContextInitializerImpl implements org.infinispan.counter.impl.persistence.PersistenceContextInitializer, org.infinispan.protostream.GeneratedSchema {
private final org.infinispan.marshall.persistence.impl.PersistenceContextInitializerImpl dep0 = new org.infinispan.marshall.persistence.impl.PersistenceContextInitializerImpl();
private final org.infinispan.commons.marshall.PersistenceContextInitializerImpl dep1 = new org.infinispan.commons.marshall.PersistenceContextInitializerImpl();
@Override
public String getProtoFileName() { return "persistence.counters.proto"; }
@Override
public String getProtoFile() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsString(getClass(), "/proto/generated/persistence.counters.proto"); }
@Override
public java.io.Reader getProtoFileReader() { return org.infinispan.protostream.impl.ResourceUtils.getResourceAsReader(getClass(), "/proto/generated/persistence.counters.proto"); }
@Override
public void registerSchema(org.infinispan.protostream.SerializationContext serCtx) {
dep0.registerSchema(serCtx);
dep1.registerSchema(serCtx);
serCtx.registerProtoFiles(org.infinispan.protostream.FileDescriptorSource.fromString(getProtoFileName(), getProtoFile()));
}
@Override
public void registerMarshallers(org.infinispan.protostream.SerializationContext serCtx) {
dep0.registerMarshallers(serCtx);
dep1.registerMarshallers(serCtx);
serCtx.registerMarshaller(new org.infinispan.counter.impl.strong.StrongCounterKey$___Marshaller_7b60cadcd7a3ce2ea1e9b7f18578345047d9a4d4bceed7f91ab7f28ade5968e7());
serCtx.registerMarshaller(new org.infinispan.counter.impl.entries.CounterValue$___Marshaller_6ab5201133840629eb172e42cdf5d3a4375120da429274c838069a25aba775b9());
serCtx.registerMarshaller(new org.infinispan.counter.impl.weak.WeakCounterKey$___Marshaller_ecc3ac4efb216fd1f64f29c92ff5068b43cb9769af31d8afc555d56f0b476e02());
}
}