Skip to content

Commit c80028b

Browse files
cac03jhoeller
authored andcommitted
Fix trivial errors in integration.adoc
1 parent 8e29eca commit c80028b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/docs/asciidoc/integration.adoc

+7-7
Original file line numberDiff line numberDiff line change
@@ -6209,7 +6209,7 @@ number of milliseconds to wait before the first execution of the method, as the
62096209
}
62106210
----
62116211

6212-
If simple periodic scheduling is not expressive enough, you ca provide a cron expression.
6212+
If simple periodic scheduling is not expressive enough, you can provide a cron expression.
62136213
For example, the following executes only on weekdays:
62146214

62156215
[source,java,indent=0]
@@ -6762,9 +6762,9 @@ support of <<cache-jsr-107,JSR-107 annotations>> and more customization options.
67626762
67636763
The terms, "`buffer`" and "`cache,`" tend to be used interchangeably. Note, however,
67646764
that they represent different things. Traditionally, a buffer is used as an intermediate
6765-
temporary store for data between a fast and a slow entity. As one party would has to wait
6765+
temporary store for data between a fast and a slow entity. As one party would have to wait
67666766
for the other (which affects performance), the buffer alleviates this by allowing entire
6767-
blocks of data to move at once rather then in small chunks. The data is written and read
6767+
blocks of data to move at once rather than in small chunks. The data is written and read
67686768
only once from the buffer. Furthermore, the buffers are visible to at least one party
67696769
that is aware of it.
67706770
@@ -7195,7 +7195,7 @@ Similarly to its sibling, `@CacheEvict` requires specifying one or more caches
71957195
that are affected by the action, allows a custom cache and key resolution or a
71967196
condition to be specified, and features an extra parameter
71977197
(`allEntries`) that indicates whether a cache-wide eviction needs to be performed
7198-
rather then just an entry eviction (based on the key). The following example evicts
7198+
rather than just an entry eviction (based on the key). The following example evicts
71997199
all entries from the `books` cache:
72007200

72017201
[source,java,indent=0]
@@ -7208,7 +7208,7 @@ all entries from the `books` cache:
72087208

72097209

72107210
This option comes in handy when an entire cache region needs to be cleared out. Rather
7211-
then evicting each entry (which would take a long time, since it is inefficient), all the
7211+
than evicting each entry (which would take a long time, since it is inefficient), all the
72127212
entries are removed in one operation, as the preceding example shows. Note that the framework ignores
72137213
any key specified in this scenario as it does not apply (the entire cache is evicted, not
72147214
only one entry).
@@ -7223,7 +7223,7 @@ method is invoked. This is useful in cases where the eviction does not need to b
72237223
to the method outcome.
72247224

72257225
Note that `void` methods can be used with `@CacheEvict` - as the
7226-
methods act as a trigger, the return values are ignored (as they do nt interact with the
7226+
methods act as a trigger, the return values are ignored (as they do not interact with the
72277227
cache). This is not the case with `@Cacheable` which adds or updates data into the cache
72287228
and, thus, requires a result.
72297229

@@ -7808,7 +7808,7 @@ The following example shows how to do so:
78087808
Sometimes, when switching environments or doing testing, you might have cache
78097809
declarations without having an actual backing cache configured. As this is an invalid
78107810
configuration, an exception is thrown at runtime, since the caching infrastructure
7811-
is unable to find a suitable store. In situations like this, rather then removing the
7811+
is unable to find a suitable store. In situations like this, rather than removing the
78127812
cache declarations (which can prove tedious), you can wire in a simple dummy cache that
78137813
performs no caching -- that is, it forces the cached methods to be executed every time.
78147814
The following example shows how to do so:

0 commit comments

Comments
 (0)