ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Shutak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2338) KeyType and Value types are show as java.lang.Object
Date Thu, 21 Jan 2016 15:01:39 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15110721#comment-15110721
] 

Artem Shutak commented on IGNITE-2338:
--------------------------------------

Hi Michael,

To set keyType and valueType, you must to use {{CacheConfiguration.setTypes(Class keyType,
Class valueType)}}.

I had a look on your configuration. As I understand you use {{CacheTypeMetadata}} to set this
property. I need to note that you can have many typeMetadatas for one cache, so it's not possible
to map typeMetadatas to a single {{setTypes}} property.

I will close the issue. Please, reopen the bug if you have any thoughts/objections.

Thanks,
Artem.

> KeyType and Value types are show as java.lang.Object
> ----------------------------------------------------
>
>                 Key: IGNITE-2338
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2338
>             Project: Ignite
>          Issue Type: Bug
>          Components: 1.4
>    Affects Versions: ignite-1.4
>            Reporter: Michael Golovanov
>            Priority: Minor
>              Labels: community, newbie
>             Fix For: 1.6
>
>         Attachments: sample.zip, screenshot-1.png
>
>
> In JMX JConsole cache keyType and valueType are aways show as  java.lang.Object 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message