Bug 1045029 - Appears to be a missing line of code in the documentation
Summary: Appears to be a missing line of code in the documentation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Documentation
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 6.2.0
Assignee: gsheldon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-19 13:32 UTC by Tim Anderson
Modified: 2014-01-16 00:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Build Name: 12540, Developer Guide-6.2-Beta-3 Build Date: 06-11-2013 13:54:54 Topic ID: 9112-538743 [Latest]
Last Closed: 2014-01-16 00:03:36 UTC
Type: Bug


Attachments (Terms of Use)

Description Tim Anderson 2013-12-19 13:32:55 UTC
Title: Create a Customized Cache Using the Default Named Cache

Describe the issue:
It looks to me like a line of code is missing in the sample code.  Section 5.1.1.2, in the first code snippet, it looks like you need:
    manager.defineConfiguration(newCacheName, c);
to be present before the call to:
    Cache<String, String> cache = manager.getCache(newCacheName);
Suggestions for improvement:
Add the line:
    manager.defineConfiguration(newCacheName, c);
in section 5.1.1.2 in the first code snippet.

Additional information:

Comment 3 Misha H. Ali 2014-01-16 00:03:36 UTC
The fix for this bug is now generally released and available here:

https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.2/index.html


Note You need to log in before you can comment on or make changes to this bug.