syntax = "proto3";

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

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

// IDs: 205 - 209

/**
 * @TypeId(205)
 */
message DefaultSessionCreationMetaDataEntry {
	java.time.Instant	creationTime	= 1;
	java.time.Duration	maxInactiveInterval	= 2;
}

/**
 * @TypeId(206)
 */
message DefaultSessionAccessMetaDataEntry {
	java.time.Duration	sinceCreation	= 1;
	java.time.Duration	lastAccess	= 2;
}

/**
 * @TypeId(207)
 */
message DefaultSessionCreationMetaDataEntryFunction {
	org.wildfly.clustering.server.offset.DurationOffset	timeoutOffset	= 1;
}

/**
 * @TypeId(208)
 */
message DefaultSessionAccessMetaDataEntryFunction {
	org.wildfly.clustering.server.offset.DurationOffset	sinceCreationOffset	= 1;
	org.wildfly.clustering.server.offset.DurationOffset	lastAccessOffset	= 2;
}
