public SimpleMetadata(long version, long lastAccessTime, long maxInactiveInterval, byte[] state, String extraParam)
Construct a Metadata object
param
version
The version of the data. A freshly created state has a version ==
0
param
lastAccessTime
the last access time of the state. This must be used in
conjunction with getMaxInactiveInterval to determine if the
state is idle enough to be removed.
param
maxInactiveInterval
the maximum time that this state can be idle in the store
before it can be removed.