Maybe this is an interesting read about AIO too. Its written by one of the
jetty developers.
http://webtide.intalio.com/2013/02/on-jdk-7-asynchronous-io/
On Sat, Mar 2, 2013 at 5:42 PM, Julien Vermillard jvermill...@gmail.comwrote:
Thanks for the pointers Kiran I m going to read it.
Julien
Christian Schwarz created DIRMINA-918:
-
Summary: Improve the overall quality of MINA3
Key: DIRMINA-918
URL: https://issues.apache.org/jira/browse/DIRMINA-918
Project: MINA
Issue Type
Hello,
will it be possible to disable the Idle detection when i don't need it? In
MINA 2 we have 10 Idle-Checker-Threads if we implement 10 different
Protocols ( one IOService per Protocol). If we dont need them, they are a
wasted resource. So it would be nice to disable the Idle detection.
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-874:
--
Attachment: TypeSafeAttributes_v1_2011_12_16.patch
Patch File
Version 1
16.12.2011
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13171191#comment-13171191
]
Christian Schwarz edited comment on DIRMINA-874 at 12/16/11 9:13 PM
+1 for all points..
...and some comments and additions:
Javadoc and Unit tests :
Same here : lots to do, but definitively mandatory. The Javadoc in MINA 3
is not bad, but need some cleanup. Unit tests, that's clearly an area we
should spend some time.
Talking about test what about
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13163682#comment-13163682
]
Christian Schwarz commented on DIRMINA-874:
---
I may reconsider using your
: Christian Schwarz
In Mina 2 we can add attributes to a session and get them as well. Because
IoSession#getAttribute(Object key) returns Object we always have to remember
what attribute type is associated with the key and cast the result to the
expected type.
Mina 2 example:
final static Object
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-874:
--
Description:
In Mina 2 we can add attributes to a session and get them as well
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-874:
--
Description:
In Mina 2 we can add attributes to a session and get them as well
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13162793#comment-13162793
]
Christian Schwarz commented on DIRMINA-874:
---
Some hasty notes on the MINA 2 API
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-874:
--
Attachment: mina3.zip
I've made an initial imlementation of typesafe attributes keys
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13162796#comment-13162796
]
Christian Schwarz edited comment on DIRMINA-874 at 12/5/11 2:19 PM
Hi,
I would suggest that we don't use the AttributeKey class at all, and
instead, define each internal MINA Attribute by prefixing them with '__'.
For instance, the SslContext would use the '__SslContext' key. The rational
is that there is no reaon to use complex key, even if we have some
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13162813#comment-13162813
]
Christian Schwarz commented on DIRMINA-874:
---
The fact that we can't distinguish
What about mixing both mode ? A String, Value mode for simple usage, and
a typesafe mode, as you suggested (that means we will have two different
kind of map to store both elements).
I think two modes is one mode to much, it would confuse the user and the
typesafe aspect would be underminded
[
https://issues.apache.org/jira/browse/DIRMINA-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13162813#comment-13162813
]
Christian Schwarz edited comment on DIRMINA-874 at 12/5/11 2:55 PM
As a user, having to create a new instance to hold the key and value might
be seen as heavy, don't you think ?
session.set(new AttributeKeyString(String.**
class,myKey),myAttribute);
is a bit more complex than
session.set( myKey, myAttribute );
Or is it just me ?
It's true for your
On Sat, Nov 26, 2011 at 1:39 AM, Emmanuel Lecharny elecha...@gmail.comwrote:
Hi guys,
Hi Emmanuel,
Feel free to comment...
...here we go! Using the 2 MINA IoBuffer is difficult for us because the
documentation of it is too hard to reach. JavaDoc's like @see # xy
ByteBuffer (..) only makes
, Christian Schwarz
chriss@googlemail.com wrote:
On Sat, Nov 26, 2011 at 1:39 AM, Emmanuel Lecharny elecha...@gmail.comwrote:
Hi guys,
Hi Emmanuel,
Feel free to comment...
...here we go! Using the 2 MINA IoBuffer is difficult for us because the
documentation of it is too hard to reach
Christian Schwarz
In Mina 2 we can add attributes to a session and get them as well.
Because IoSession#getAttribute(Object
key) returns Object we always have to remember what attribute type is
associated with the key and cast the result to the expected type.
Mina 2 example:
final static Object KEY = new
Somewere i read that the class IoBuffer will not be used in Mina 3
anymore, if not the methods IoBuffer#getObject() /IoBuffer#putObject()
should be removed ! I think it's better to use a dedicated
SerialisationDe-/Encoder. It is difficult to imagine what exactly
happens when you have no
Salute Julien !
Sure it's improving the typing, but does it really simplify the code ?
When I wrote simplification I was referring to the unnecessary cast, that
is required in mina 2. My proposal is not simpler that the current mina 3
implementation. Infact the user have to do a bit more
On Fri, Nov 18, 2011 at 3:22 PM, Julien Vermillard jvermill...@gmail.comwrote:
Just an idea, in place of building an AttributeKey objct perhaps we can do
:
session.addParameter(MyClass.class,thekey,theValue);
and
Myclass myClass = session.getParameter(thekey);
WDYT ?
Setting is safe,
regards
Christian Schwarz
[
https://issues.apache.org/jira/browse/DIRMINA-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-831:
--
Attachment: DIRMINA-831.avi
NioSocketConnector create unused Connections, even when
[
https://issues.apache.org/jira/browse/DIRMINA-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13025685#comment-13025685
]
Christian Schwarz commented on DIRMINA-831:
---
Hi,
i attached a short screencast
[
https://issues.apache.org/jira/browse/DIRMINA-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13025699#comment-13025699
]
Christian Schwarz commented on DIRMINA-831:
---
Thats interesting ! While
[
https://issues.apache.org/jira/browse/DIRMINA-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-831:
--
Attachment: DIRMINA-831.jpg
NioSocketConnector create unused Connections, even when
[
https://issues.apache.org/jira/browse/DIRMINA-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13025219#comment-13025219
]
Christian Schwarz commented on DIRMINA-830:
---
During the last week we tried our
: MINA
Issue Type: Bug
Components: Core
Affects Versions: 2.0.2
Environment: win32, x86, winXP
Reporter: Christian Schwarz
Hello,
we are using Mina to access different types of network devices (Webcams,
Digital-IO-Boxes, Access Control Systems
[
https://issues.apache.org/jira/browse/DIRMINA-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13022689#comment-13022689
]
Christian Schwarz commented on DIRMINA-831:
---
You can simply reproduce
[
https://issues.apache.org/jira/browse/DIRMINA-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13020955#comment-13020955
]
Christian Schwarz commented on DIRMINA-653:
---
Yes, the BufferDataException
Components: Transport
Affects Versions: 2.0.2
Environment: win32 x86
Reporter: Christian Schwarz
The inner worker classes of SerialSessionImpl violates the guarded block
contract for Object#wait(). Under certain conditions it is possible that a
session write
[
https://issues.apache.org/jira/browse/DIRMINA-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13020311#comment-13020311
]
Christian Schwarz commented on DIRMINA-653:
---
It took the whole week
[
https://issues.apache.org/jira/browse/DIRMINA-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13018312#comment-13018312
]
Christian Schwarz commented on DIRMINA-653:
---
@Emmanuel
Sometimes i get
[
https://issues.apache.org/jira/browse/DIRMINA-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13015801#comment-13015801
]
Christian Schwarz commented on DIRMINA-653:
---
Hi Yannick,
thanks for pointing
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-813:
--
Affects Version/s: (was: 2.0.0)
2.0.2
Starvation occures
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12970165#action_12970165
]
Christian Schwarz commented on DIRMINA-813:
---
Workaround 1
Closing from
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12970168#action_12970168
]
Christian Schwarz commented on DIRMINA-813:
---
Workaround 2
Hack the IOLock
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-813:
--
Comment: was deleted
(was: here is our code snipped:
CloseFuture future
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-813:
--
Description:
It seems that an Starvation occures sometimes when we call close(true
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-813:
--
Comment: was deleted
(was: corrected some details)
Starvation occures sometimes
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schwarz updated DIRMINA-813:
--
Description:
It seems that an starvation occures sometimes when we call close(true
: Transport
Affects Versions: 2.0.0
Environment: OS: Win32 XP-Pro
rxtx Version :2.1.7.4_v20071016
Reporter: Christian Schwarz
It seems that an Starvation occures sometimes when we call close() on a
SerialSession, the Methode never returns.
We observed our Application
[
https://issues.apache.org/jira/browse/DIRMINA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12965715#action_12965715
]
Christian Schwarz commented on DIRMINA-813:
---
here is our code snipped
47 matches
Mail list logo