-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Mark CSOT feature as Alpha #1372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
85a530c
Introduce Alpha annotation.
vbabanin 7c02d9c
Remove redundant words.
vbabanin b8114d7
Mark CSOT API as Alpha.
vbabanin bac7c70
Fix typo in README.
vbabanin b9ceab4
Merge branch 'CSOT' into JAVA-5402
vbabanin 0ea0c32
Add Alpha annotation to timeout configuration option in MongoClientSe…
vbabanin 6bf7434
Change wording.
vbabanin 6cc0153
Change 'and' to 'or'.
vbabanin cc8d54e
Mark getTimeout methods with Alpha.
vbabanin ce399a0
- Mark timeoutMode as Alpha.
vbabanin 8d1e5ec
Merge branch 'refs/heads/CSOT' into JAVA-5402
vbabanin 4c608e1
Correct Javadoc.
vbabanin df5bdcf
Update driver-core/src/main/com/mongodb/ConnectionString.java
vbabanin 473123c
- Correct README.
vbabanin 1bbea61
Update README.
vbabanin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,12 @@ https://github.com/mongodb/mongo-java-driver. | |
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
|
||
3) The following files: Beta.java, UnsignedLongs.java, UnsignedLongsTest.java | ||
3) The following files: | ||
|
||
Alpha.java (formerly Beta.java) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The documentation in |
||
Beta.java | ||
UnsignedLongs.java | ||
UnsignedLongsTest.java | ||
|
||
Copyright 2010 The Guava Authors | ||
Copyright 2011 The Guava Authors | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright 2008-present MongoDB, Inc. | ||
* Copyright 2010 The Guava Authors | ||
* Copyright 2011 The Guava Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.mongodb.annotations; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* Signifies that a public API element is in the early stages of development, subject to | ||
* incompatible changes, or even removal, in a future release and may lack some intended features. | ||
* An API bearing this annotation may contain known issues affecting functionality, performance, | ||
* and stability. It is also exempt from any compatibility guarantees made by its containing library. | ||
* | ||
* <p>It is inadvisable for <i>applications</i> to use Alpha APIs in production environments or | ||
* for <i>libraries</i> (which get included on users' CLASSPATHs, outside the library developers' | ||
* control) to depend on these APIs. Alpha APIs are intended for <b>experimental purposes</b> only.</p> | ||
*/ | ||
@Retention(RetentionPolicy.CLASS) | ||
@Target({ | ||
ElementType.ANNOTATION_TYPE, | ||
ElementType.CONSTRUCTOR, | ||
ElementType.FIELD, | ||
ElementType.METHOD, | ||
ElementType.PACKAGE, | ||
ElementType.TYPE }) | ||
@Documented | ||
@Beta(Reason.CLIENT) | ||
public @interface Alpha { | ||
/** | ||
* @return The reason an API element is marked with {@link Alpha}. | ||
*/ | ||
Reason[] value(); | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2008-present MongoDB, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.mongodb.annotations; | ||
|
||
/** | ||
* Enumerates the reasons an API element might be marked with annotations like {@link Alpha} or {@link Beta}. | ||
*/ | ||
public enum Reason { | ||
stIncMale marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/** | ||
* Indicates that the status of the driver API is the reason for the annotation. | ||
*/ | ||
CLIENT, | ||
|
||
/** | ||
* The driver API relies on the server API. | ||
* This dependency is the reason for the annotation and suggests that changes in the server API could impact the driver API. | ||
*/ | ||
SERVER | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.