public static String getTimestampForId ( String context , String ip ) { BDBMap bdbMap = getContextMap ( context ) ; String dateStr = bdbMap . get ( ip ) ; return ( dateStr != null ) ? dateStr : Timestamp . currentTimestamp ( ) . getDateStr ( ) ; }
return the timestamp associated with the identifier argument or now if no value is associated or something goes wrong .