org.wildfly.clustering.ejb.cache.timer.ScheduleTimerMetaDataEntryMarshaller Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.ejb.cache.timer;
import java.io.IOException;
import java.lang.reflect.Method;
import java.time.Duration;
import java.time.Instant;
import java.util.function.Predicate;
import org.infinispan.protostream.descriptors.WireType;
import org.wildfly.clustering.marshalling.protostream.FieldSetReader;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamReader;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter;
import org.wildfly.clustering.marshalling.ByteBufferMarshalledValue;
import org.wildfly.clustering.marshalling.MarshalledValue;
/**
* @author Paul Ferraro
*/
public class ScheduleTimerMetaDataEntryMarshaller implements ProtoStreamMarshaller> {
private static final int INFO_INDEX = 1;
private static final int START_INDEX = 2;
private static final int LAST_TIMEOUT_INDEX = 3;
private static final int TIMEOUT_DESCRIPTOR_INDEX = 4;
private static final int SCHEDULE_EXPRESSION_INDEX = 5;
@SuppressWarnings("unchecked")
@Override
public Class extends ScheduleTimerMetaDataEntry