code: public long getPropertyAsLong(Key key) {
          try {
              return Long.parseLong(getProperty(key));
          } catch (NumberFormatException e) {
              LOGGER.error("Error parsing number from property: " + key.getPropertyName());
              return -1;
          }
      }
docs: Return the configured value for the specified Key.
  @param key The Key to return the configuration for
  @return a long of the value of the configuration
  @since 1.0.0