All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.counter.impl.persistence.PersistenceContextInitializer Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev05
Show newest version
package org.infinispan.counter.impl.persistence;

import org.infinispan.counter.impl.entries.CounterValue;
import org.infinispan.counter.impl.strong.StrongCounterKey;
import org.infinispan.counter.impl.weak.WeakCounterKey;
import org.infinispan.marshall.persistence.impl.PersistenceMarshallerImpl;
import org.infinispan.protostream.SerializationContextInitializer;
import org.infinispan.protostream.annotations.AutoProtoSchemaBuilder;

/**
 * Interface used to initialise the {@link PersistenceMarshallerImpl}'s {@link org.infinispan.protostream.SerializationContext}
 * using the specified Pojos, Marshaller implementations and provided .proto schemas.
 *
 * @author Ryan Emerson
 * @since 10.0
 */
@AutoProtoSchemaBuilder(
      dependsOn = {
         org.infinispan.marshall.persistence.impl.PersistenceContextInitializer.class,
         org.infinispan.commons.marshall.PersistenceContextInitializer.class,
      },
      includeClasses = {
            CounterValue.class,
            StrongCounterKey.class,
            WeakCounterKey.class
      },
      schemaFileName = "persistence.counters.proto",
      schemaFilePath = "proto/generated",
      schemaPackageName = "org.infinispan.persistence.counters",
      service = false
)
interface PersistenceContextInitializer extends SerializationContextInitializer {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy