PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/hooks/mongodb-hook/docroot/WEB-INF/src/com/liferay/mongodb/util/PortletPropsKeys.java

http://github.com/liferay/liferay-plugins
Java | 48 lines | 17 code | 14 blank | 17 comment | 0 complexity | a12468d8d90a8b841202cfb29b74c8e4 MD5 | raw file
  1. /**
  2. * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
  3. *
  4. * This library is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU Lesser General Public License as published by the Free
  6. * Software Foundation; either version 2.1 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  12. * details.
  13. */
  14. package com.liferay.mongodb.util;
  15. /**
  16. * @author Raymond Augé
  17. * @author Brian Wing Shun Chan
  18. */
  19. public interface PortletPropsKeys {
  20. public static final String DRIVER_AUTOCONNECT_RETRY =
  21. "driver.autoConnectRetry";
  22. public static final String DRIVER_CONNECT_TIMEOUT = "driver.connectTimeout";
  23. public static final String DRIVER_CONNECTIONS_PER_HOST =
  24. "driver.connectionsPerHost";
  25. public static final String DRIVER_MAX_WAIT_TIME = "driver.maxWaitTime";
  26. public static final String DRIVER_SOCKET_TIMEOUT = "driver.socketTimeout";
  27. public static final String DRIVER_THREADS_ALLOWED_TO_BLOCK =
  28. "driver.threadsAllowedToBlockForConnectionMultiplier";
  29. public static final String SERVER_DATABASE = "server.database";
  30. public static final String SERVER_HOSTNAMES = "server.hostnames";
  31. public static final String SERVER_PASSWORD = "server.password";
  32. public static final String SERVER_PORT = "server.port";
  33. public static final String SERVER_USERNAME = "server.username";
  34. }