Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.transistore.basic;
 
 
 // Let's actually fix serialization order, to help client stability
     "key""hash""length"// from base class
    "created""maxTTL"
})
public class BasicTSListItem extends ListItem
{
    
Creation time in usual JDK milliseconds since epoch.
    public long created;

    
Maximum time-to-live in seconds (since created)
    public int maxTTL;
    
    // just for deserialization
    protected BasicTSListItem() { }
    public BasicTSListItem(StorableKey rawKeyint hashlong length,
            long creationTimeint maxTTLSecs)
    {
        super(rawKeyhashlength);
         = creationTime;
         = maxTTLSecs;
    }
New to GrepCode? Check out our FAQ X