syntax = "proto3";

package org.wildfly.clustering.session.cache.metadata.coarse;

import "java.time.proto";
import "org.wildfly.clustering.server.offset.proto";

// IDs: 205 - 209

/**
 * @TypeId(205)
 */
message DefaultSessionMetaDataEntry {
	java.time.Instant	creationTime	= 1;
	java.time.Duration	timeout	= 2;
	org.wildfly.clustering.server.offset.InstantOffset	lastAccessStartTimeOffset	= 3;
	org.wildfly.clustering.server.offset.InstantOffset	lastAccessEndTimeOffset	= 4;
}

/**
 * @TypeId(206)
 */
message SessionMetaDataEntryFunction {
	org.wildfly.clustering.server.offset.DurationOffset	timeoutOffset	= 1;
	org.wildfly.clustering.server.offset.InstantOffset	lastAccessStartTimeOffset	= 2;
	org.wildfly.clustering.server.offset.InstantOffset	lastAccessEndTimeOffset	= 3;
}
