Skip to content

Conversation

asimarslan
Copy link
Contributor

No description provided.

@asimarslan asimarslan requested a review from Serdaro January 2, 2018 11:09
@asimarslan asimarslan added the Type: Documentation Documentation. label Jan 2, 2018
@asimarslan asimarslan added this to the 3.9.2 milestone Jan 2, 2018
@devOpsHazelcast
Copy link
Contributor

Linux Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Test FAILed.

@devOpsHazelcast
Copy link
Contributor

Windows .Net Framework Tests PASSed.

/// <returns>The message type field value.</returns>
int GetMessageType();

/// <summary>Returns the correlation id field.</summary>
Copy link
Contributor

@Serdaro Serdaro Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I see, usually, ID is used in the code comments, instead of id. There are couple "id"s in the following lines.

{
/// <summary>
/// Marker interface for exceptions to indicate that an operation can be retried.
/// E.g. a map.get send to a machine where the partition has just moved to another machine.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// E.g., a map.get sent to a machine....

}

/// <summary>
/// A <see cref="RetryableHazelcastException"/> that indicates operation is send to a machine that isn't member of the cluster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...operation is sent to a machine that isn't member of the cluster.

@devOpsHazelcast
Copy link
Contributor

Windows Net Core Tests PASSed.


/// <summary>
/// Thrown when a client invocation is failed because related target is disconnected and
/// whether the invocation is run or not, is indeterminate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...failed because the related target is disconnected, and whether the invocation runs or not is indeterminate.

/// Client service to add/remove remote listeners.
/// </summary>
/// <remarks>
/// For smart client, it registers local listeners to all nodes in cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...in the cluster.

/// Partition service for Hazelcast clients.
/// </summary>
/// <remarks>
/// Allows to retrieve information about the partition count, the partition owner or the partitionId of a key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...about the partition count, partition owner or partitionId of a key.

}

/// <summary>
/// Gets configured <see cref="ILoadBalancer"/> instance
Copy link
Contributor

@Serdaro Serdaro Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Gets the configured ... instance.

namespace Hazelcast.Config
{
/// <summary>
/// Main configuration to setup a Hazelcast Client
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...a Hazelcast client.

private SerializationConfig _serializationConfig = new SerializationConfig();

/// <summary>
/// Helper method to add a new ListenerConfig
Copy link
Contributor

@Serdaro Serdaro Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it is best to use periods at the end of sentences that are in-between the "summary" tags. There are a couple of lines in the following comments.

}

/// <summary>
/// pool-size for internal ExecutorService which handles responses etc.
Copy link
Contributor

@Serdaro Serdaro Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Gets pool-size ... handles responses, etc.

}

/// <summary>
/// Map of all configured NearCacheConfig's with the name key and configuration as the value
Copy link
Contributor

@Serdaro Serdaro Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...configured Near Cache configs with...

}

/// <summary>
/// sets pool-size for internal ExecutorService which handles responses etc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Sets pool-size ... handles responses, etc.

}

/// <summary>
/// Sets all near cache configs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Sets all Near Cache configs.

namespace Hazelcast.Config
{
/// <summary>
/// Contains configuration parameters for client network related behaviour
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...related behavior.

private SSLConfig _sslConfig = new SSLConfig();

/// <summary>
/// Adds given addresses to candidate address list that client will use to establish initial connection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...addresses to the list of candidate addresses ... connection. (standardizing the expression of this list).

}

/// <summary>
/// Returns connection attempt period in millis, Period for the next attempt to find a member to connect.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Returns the connection attempt period, in millis, for the next attempt to find a member to connect.

}

/// <summary>
/// is redo operations are enabled or not
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Specifies whether the redo operations are enabled or not.

/// <summary>
/// While client is trying to connect initially to one of the members in the configured address list,
/// all might be not available. Instead of giving up, throwing Exception and stopping client, it will
/// attempt to retry as much as connection Attempt Limit times.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...connection attempt limit times.

/// <summary>
/// While client is trying to connect initially to one of the members in the configured address list,
/// all might be not available. Instead of giving up, throwing Exception and stopping client, it will
/// attempt to retry as much as connection Attempt Limit times.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...connection attempt limit times.

}

/// <summary>
/// Sets connection attempt period in millis, Period for the next attempt to find a member to connect.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Sets the connection attempt period, in millis, for the next attempt to find a member to connect.

/// <summary>
/// If true, client will redo the operations that were executing on the server and client lost the connection.
/// This can be because of network, or simply because the member died. However it is not clear whether the
/// application is performed or not.For idempotent operations this is harmless, but for non idempotent ones
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...performed or not. For idempotent ..., but for non-idempotent ones ...

/// If true, client will redo the operations that were executing on the server and client lost the connection.
/// This can be because of network, or simply because the member died. However it is not clear whether the
/// application is performed or not.For idempotent operations this is harmless, but for non idempotent ones
/// retrying can cause to undesirable effects.Note that the redo can perform on any member.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...effects. Note that...

public sealed class GroupConfig
{
/// <summary>
/// default group password
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// Default group password. (capitalizing the first word; there are a couple of lines like this in the following code comments.)

}

/// <summary>
/// Returns the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...untouched (not read).


/// <summary>
/// Returns the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
/// Entries that are not read (touched) more than <c>maxIdleSeconds</c> value will get removed from the Near Cache.
Copy link
Contributor

@Serdaro Serdaro Jan 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be like: /// Entries that are not read (untouched) more than...

Or just like this: /// Entries that are not read more than...

/// Returns the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
/// Entries that are not read (touched) more than <c>maxIdleSeconds</c> value will get removed from the Near Cache.
/// </summary>
/// <returns>maximum number of seconds each entry can stay in the Near Cache as untouched (not-read)</returns>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...(not read)

}

/// <summary>
/// Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...(not read).

/// <summary>
/// Set the maximum number of seconds each entry can stay in the Near Cache as untouched (not-read).
/// <br/>
/// Entries that are not read(touched) more than <c>maxIdleSeconds</c> value will get removed from the Near Cache.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be like: /// Entries that are not read (untouched) more than...

Or just like this: /// Entries that are not read more than...

namespace Hazelcast.Config
{
/// <summary>
/// This class is related to SPI. To register custom services to client.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/// This class is related to SPI; it is used to register custom services to client.

}

/// <summary>
/// Build a ClientConfig from an xml file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...from an XML file.

/// <summary>
/// Build a ClientConfig from an xml file
/// </summary>
/// <param name="configFile">hazelcast client xml config file</param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

///...>Hazelcast client XML config file<...

/// <summary>
/// Build a ClientConfig from an xml file
/// </summary>
/// <param name="reader">Text reader to provide hazelcast client xml</param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...Hazelcast client XML<...

}

/// <summary>
/// Creates a client config using the xml content
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...the XML content.

Copy link
Contributor

@Serdaro Serdaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

@asimarslan asimarslan force-pushed the api-doc-improvement branch from 1233cb8 to 607cc64 Compare January 2, 2018 14:48
@devOpsHazelcast
Copy link
Contributor

Windows Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux Net Core Tests PASSed.

@asimarslan asimarslan force-pushed the api-doc-improvement branch 2 times, most recently from 2b7784f to 03e5aca Compare January 2, 2018 15:07
@devOpsHazelcast
Copy link
Contributor

Windows .Net Framework Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows .Net Framework Tests PASSed.

Added Test Categories for features introduced at specific versions
@asimarslan asimarslan force-pushed the api-doc-improvement branch from 03e5aca to fd2e366 Compare January 2, 2018 15:35
@devOpsHazelcast
Copy link
Contributor

Windows Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux Net Core Tests PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows .Net Framework Tests PASSed.

@asimarslan asimarslan merged commit 6f58d74 into hazelcast:maintenance-3.x Jan 2, 2018
@asimarslan asimarslan deleted the api-doc-improvement branch July 11, 2018 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants