Use Configuration.getMs instead of Configuration.getLong for TTL

Description

TTL default value is Constants.NO_TTL, -1 by default.
Configuration.getMs will not work, it is inconvenience for a user to calculate an actual number.

Environment

None

Status

Assignee

Reid Chan

Reporter

Reid Chan

Labels

None

Components

Fix versions

Affects versions

1.7.1
master

Priority

Major
Configure